diff --git a/src/container.ts b/src/container.ts index dcf6226..66ee488 100644 --- a/src/container.ts +++ b/src/container.ts @@ -61,7 +61,9 @@ export default class Container implements ContainerType { await instance[md.initMethod!]?.(); return instance; } - + public setClass(ClassType: Identifier) { + this.set({ id: ClassType }) + } public set(options: Partial) { let type = options.type; if (!type) {