maxgherman/TypeIOC

View on GitHub
docs/typeioc.factory.md

Summary

Maintainability
Test Coverage
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [typeioc](./typeioc.md) &gt; [Factory](./typeioc.factory.md)

## Factory type

Represents factory method registration interface. Receives an instance of a container [IContainer](./typeioc.icontainer.md) and an array of optional parameters provided during resolution

<b>Signature:</b>

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