ClearVision/node_modules/tsyringe/dist/typings/reflection-helpers.d.ts

11 lines
580 B
TypeScript
Raw Normal View History

2022-07-09 16:03:26 -04:00
import constructor from "./types/constructor";
import InjectionToken from "./providers/injection-token";
import { ParamInfo } from "./dependency-container";
import Transform from "./types/transform";
export declare const INJECTION_TOKEN_METADATA_KEY = "injectionTokens";
export declare function getParamInfo(target: constructor<any>): ParamInfo[];
export declare function defineInjectionTokenMetadata(data: any, transform?: {
transformToken: InjectionToken<Transform<any, any>>;
args: any[];
}): (target: any, propertyKey: string | symbol, parameterIndex: number) => any;