diff --git a/core/cli/package.json b/core/cli/package.json index 1c10bd3..4c373c0 100644 --- a/core/cli/package.json +++ b/core/cli/package.json @@ -9,7 +9,7 @@ "ioc", "inversion of control" ], - "version": "0.0.29", + "version": "0.0.30", "license": "MIT", "author": { "name": "Dan Kadera", @@ -32,7 +32,7 @@ "dicc": "dist/cli.js" }, "dependencies": { - "dicc": "^0.0.23", + "dicc": "^0.0.24", "ts-morph": "^18.0", "typescript": "^5.0", "yaml": "^2.3.1", diff --git a/core/dicc/package.json b/core/dicc/package.json index 3eb34bd..91da69b 100644 --- a/core/dicc/package.json +++ b/core/dicc/package.json @@ -9,7 +9,7 @@ "ioc", "inversion of control" ], - "version": "0.0.23", + "version": "0.0.24", "license": "MIT", "author": { "name": "Dan Kadera", diff --git a/core/dicc/src/types.ts b/core/dicc/src/types.ts index 8d62942..44e91eb 100644 --- a/core/dicc/src/types.ts +++ b/core/dicc/src/types.ts @@ -86,7 +86,7 @@ export type CompiledFactory = {}> = { export type CompiledAsyncServiceDefinition = {}> = CompiledServiceDefinitionOptions, Services> & { - factory: CompiledFactory, Services>; + factory: CompiledFactory | T, Services>; async: true; onCreate?: CompiledAsyncServiceHook, Services>; }; diff --git a/package-lock.json b/package-lock.json index d81e40f..fde9144 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,10 +12,10 @@ }, "core/cli": { "name": "dicc-cli", - "version": "0.0.29", + "version": "0.0.30", "license": "MIT", "dependencies": { - "dicc": "^0.0.23", + "dicc": "^0.0.24", "ts-morph": "^18.0", "typescript": "^5.0", "yaml": "^2.3.1", @@ -34,7 +34,7 @@ } }, "core/dicc": { - "version": "0.0.23", + "version": "0.0.24", "license": "MIT", "devDependencies": { "@tsconfig/node18": "^2.0",