UNPKG

@farris/devkit-vue

Version:
11 lines (10 loc) 385 B
import { Type } from '../types'; import { AbstractType, InjectFlags } from './types'; import { InjectionToken } from './injection-token'; /** * 注入器抽象类 */ export declare abstract class Injector { abstract get<T>(token: Type<T> | InjectionToken<T> | AbstractType<T>, notFoundValue?: T, flags?: InjectFlags): T; abstract get(token: any, notFoundValue?: any): any; }