消除我特牛
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
529 B

4 weeks ago
import { interfaces } from "../interfaces/interfaces";
export declare type ServiceIdentifierOrFunc = interfaces.ServiceIdentifier<any> | LazyServiceIdentifer;
export declare class LazyServiceIdentifer<T = any> {
private _cb;
constructor(cb: () => interfaces.ServiceIdentifier<T>);
unwrap(): string | symbol | interfaces.Newable<T> | interfaces.Abstract<T>;
}
declare function inject(serviceIdentifier: ServiceIdentifierOrFunc): (target: any, targetKey: string, index?: number | undefined) => void;
export { inject };