inversify-dts
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -26,6 +26,17 @@ // Type definitions for inversify 2.0.0-beta.6 | ||
export interface PlanAndResolve<T> { | ||
(args: PlanAndResolveArgs): T[]; | ||
} | ||
export interface IMiddleware extends Function { | ||
(next: (context: IContext) => any): (context: IContext) => any; | ||
(next: PlanAndResolve<any>): PlanAndResolve<any>; | ||
} | ||
export interface PlanAndResolveArgs { | ||
multiInject: boolean; | ||
serviceIdentifier: (string|Symbol|INewable<any>); | ||
target: ITarget; | ||
contextInterceptor: (contexts: IContext) => IContext; | ||
} | ||
export interface IKernel { | ||
@@ -32,0 +43,0 @@ bind<T>(serviceIdentifier: (string|Symbol|INewable<T>)): IBindingToSyntax<T>; |
{ | ||
"name": "inversify-dts", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "The InversifyJS TypeScript type definitions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
207640
4330
0