Introduction
Migration
Appearance
import { optionalLazyInject } from "@tsed/di";
See /packages/di/src/types/common/fn/lazyInject.ts.
function optionalLazyInject<Token>(factory: () => Promise<{ default: TokenProvider; }>): Promise<Token | undefined>;
default: TokenProvider;