Stratal API Reference
    Preparing search index...

    Interface ValueProvider<T>

    Provider that uses a pre-created value

    Note: Values are inherently singleton-like (same instance always returned). No scope option needed.

    interface ValueProvider<T extends object = object> {
        provide: InjectionToken<T>;
        useValue: T;
    }

    Type Parameters

    • T extends object = object
    Index

    Properties

    Properties

    provide: InjectionToken<T>
    useValue: T