UseFactoryImportTokenProviderOpts
@tsed/di
Usage
typescript
import { UseFactoryImportTokenProviderOpts } from "@tsed/di/src/types/common/interfaces/ImportTokenProviderOpts";
See /packages/di/src/types/common/interfaces/ImportTokenProviderOpts.ts.
Overview
ts
type UseFactoryImportTokenProviderOpts = {
token: TokenProvider;
useFactory: (...args: unknown[]) => unknown;
};
token
ts
token: TokenProvider;
useFactory:
ts
useFactory: (...args: unknown[]) => unknown;