@vercube/di 0.0.24 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -355,8 +355,7 @@ var Container = class Container {
|
|
|
355
355
|
const values = [...this.fNewQueue.values()];
|
|
356
356
|
for (const def of values) {
|
|
357
357
|
if (def.type !== IOC.ServiceFactoryType.CLASS_SINGLETON) continue;
|
|
358
|
-
|
|
359
|
-
initializeDecorators(instance, this);
|
|
358
|
+
initializeDecorators(this.internalResolve(def), this);
|
|
360
359
|
}
|
|
361
360
|
this.fNewQueue.clear();
|
|
362
361
|
}
|