typeioc

Home > typeioc > Initializer

Initializer type

Specifies an instance of the initialization action to be used during resolution instantiation. Receives an instance of a container IContainer and an instance of the resolved service

Signature:

export declare type Initializer<T> = (c: IContainer, item: T) => T;