defineInjectable
constant
Deprecated
API
const defineInjectable: <T>(opts: { token: unknown; providedIn?: Type<any> | "root" | "platform" | "any" | "environment" | null | undefined; factory: () => T; }) => unknown;
Jump to details
const defineInjectable: <T>(opts: { token: unknown; providedIn?: Type<any> | "root" | "platform" | "any" | "environment" | null | undefined; factory: () => T; }) => unknown;