Skip to content

UseClassImportTokenProviderOpts

@tsed/di

Usage

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

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

Overview

ts
type UseClassImportTokenProviderOpts = {
    token: TokenProvider;
    useClass: Type | AbstractType<any>;
};

token

ts
token: TokenProvider;

useClass

ts
useClass: Type | AbstractType<any>;

Released under the MIT License.