AngularTS
    Preparing search index...

    Type Alias ProviderDefinition

    ProviderDefinition:
        | { get: Injectable<(...args: Dynamic[]) => unknown> }
        | Injectable<(...args: Dynamic[]) => unknown>
        | Injectable<Constructor>

    A user-defined service recipe accepted by ng.NgModule.provider.

    Object recipes define an injectable get factory directly. Injectable functions and classes are instantiated first and must produce an object with an injectable get factory.