UNPKG

@dipscope/type-manager

Version:

Transform JSON strings or plain objects into JS class instances.

12 lines 516 B
import { InjectDecorator } from './inject-decorator'; import { InjectOptions } from './inject-options'; import { TypeArgument } from './type-argument'; /** * Inject decorator. * * @param {InjectOptions<TObject>|TypeArgument<TObject>|string} x Inject options, type argument or key from the type context. * * @returns {InjectDecorator} Inject decorator. */ export declare function Inject<TObject>(x?: InjectOptions<TObject> | TypeArgument<TObject> | string): InjectDecorator; //# sourceMappingURL=inject.d.ts.map