Viewing File: /home/ubuntu/efiexchange-node-base/node_modules/tsyringe/dist/typings/decorators/inject.d.ts

import InjectionToken from "../providers/injection-token";
/**
 * Parameter decorator factory that allows for interface information to be stored in the constructor's metadata
 *
 * @return {Function} The parameter decorator
 */
declare function inject(token: InjectionToken<any>, options?: {
    isOptional?: boolean;
}): (target: any, propertyKey: string | symbol | undefined, parameterIndex: number) => any;
export default inject;
Back to Directory File Manager