Skip to main content
Module

x/alosaur/src/injection/providers/value-provider.ts

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
File
import 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;}