x/alosaur/src/injection/providers/value-provider.ts
123456789101112import Provider from "./provider.ts";export default interface ValueProvider<T> { useValue: T;}export function isValueProvider<T>( provider: Provider<T>,): provider is ValueProvider<T> { return (provider as ValueProvider<T>).useValue != undefined;}