Interface Provider<V>

Type helper to allow referencing Provided constructors as new-able targets. Used and intended to be used in conjunction with the Provider decorator.

interface Provider<V> {
    [provide]: Registration;
    constructor: any;
    new Providernew (...args): V;
}

Type Parameters

  • V

    Instance type of the registered class constructor.

Constructors

Properties

Constructors

constructor

Properties

[provide]: Registration

Enforced provider contract.

Generated using TypeDoc