We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca228bb commit 1e9f35dCopy full SHA for 1e9f35d
src/typescript-ioc.ts
@@ -301,7 +301,7 @@ class IoCContainer {
301
static injectProperty(target: Function, key: string, propertyType: Function) {
302
const propKey = `__${key}`;
303
Object.defineProperty(target.prototype, key, {
304
- // enumerable: true,
+ enumerable: true,
305
get: function(){
306
return this[propKey]?this[propKey]:this[propKey]=IoCContainer.get(propertyType);
307
},
0 commit comments