@dipscope/type-manager
Version:
Transform JSON strings or plain objects into JS class instances.
45 lines • 1.79 kB
JavaScript
var UnresolvedInjectState = (function () {
function UnresolvedInjectState(injectMetadata) {
this.injectMetadata = injectMetadata;
return;
}
Object.defineProperty(UnresolvedInjectState.prototype, "key", {
get: function () {
var resolvedInjectState = this.resolvedInjectState;
if (resolvedInjectState === undefined) {
resolvedInjectState = this.injectMetadata.resolveInjectState();
this.resolvedInjectState = resolvedInjectState;
}
return resolvedInjectState.key;
},
enumerable: false,
configurable: true
});
Object.defineProperty(UnresolvedInjectState.prototype, "typeArgument", {
get: function () {
var resolvedInjectState = this.resolvedInjectState;
if (resolvedInjectState === undefined) {
resolvedInjectState = this.injectMetadata.resolveInjectState();
this.resolvedInjectState = resolvedInjectState;
}
return resolvedInjectState.typeArgument;
},
enumerable: false,
configurable: true
});
Object.defineProperty(UnresolvedInjectState.prototype, "typeMetadata", {
get: function () {
var resolvedInjectState = this.resolvedInjectState;
if (resolvedInjectState === undefined) {
resolvedInjectState = this.injectMetadata.resolveInjectState();
this.resolvedInjectState = resolvedInjectState;
}
return resolvedInjectState.typeMetadata;
},
enumerable: false,
configurable: true
});
return UnresolvedInjectState;
}());
export { UnresolvedInjectState };
//# sourceMappingURL=unresolved-inject-state.js.map