Skip to content

UseAsyncFactoryImportTokenProviderOpts

@tsed/di

Usage

typescript
import { UseAsyncFactoryImportTokenProviderOpts } from "@tsed/di/src/types/common/interfaces/ImportTokenProviderOpts";

See /packages/di/src/types/common/interfaces/ImportTokenProviderOpts.ts.

Overview

ts
type UseAsyncFactoryImportTokenProviderOpts = {
    token: TokenProvider;
    useAsyncFactory: (...args: unknown[]) => Promise<unknown>;
};

token

ts
token: TokenProvider;

useAsyncFactory:

ts
useAsyncFactory: (...args: unknown[]) => Promise<unknown>;

Released under the MIT License.