@dipscope/type-manager
Version:
Transform JSON strings or plain objects into JS class instances.
23 lines • 585 B
TypeScript
import { TypeArgument } from './type-argument';
/**
* Inject options.
*
* @type {InjectOptions<TObject>}
*/
export declare type InjectOptions<TObject> = {
/**
* Parameter key to inject within a type context. If specified then
* type argument will be ignored.
*
* @type {string}
*/
key?: string;
/**
* Type argument of the injection. Used if key is not specified and
* resolved using injector.
*
* @type {TypeArgument<TObject>}
*/
typeArgument?: TypeArgument<TObject>;
};
//# sourceMappingURL=inject-options.d.ts.map