Skip to main content
Module

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

Alosaur - Deno web framework with many decorators
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 (<ValueProvider<T>>provider).useValue != undefined;}