@sigodenjs/dee-srv
Advanced tools
Comparing version 0.16.1 to 0.16.2
@@ -30,5 +30,8 @@ export interface ServiceGroup extends SrvExt.ServiceGroup { | ||
}; | ||
export declare type InitFn<T, U, P extends { | ||
export interface InitFn<T, U, P extends { | ||
[k: string]: any; | ||
}> = (ctx: SrvContext, args: U, depends?: P) => Promise<InitOutput<T>>; | ||
}> { | ||
(ctx: SrvContext, args: U, depends?: P): Promise<InitOutput<T>>; | ||
deps?: string[]; | ||
} | ||
declare global { | ||
@@ -35,0 +38,0 @@ namespace SrvExt { |
{ | ||
"name": "@sigodenjs/dee-srv", | ||
"version": "0.16.1", | ||
"version": "0.16.2", | ||
"description": "A way to write and organize service", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1876
46