typeioc

Home > typeioc > Factory

Factory type

Represents factory method registration interface. Receives an instance of a container IContainer and an array of optional parameters provided during resolution

Signature:

export declare type Factory<T> = (c: IContainer, ...args: any[]) => T;