inversify-dts
Advanced tools
Comparing version 1.9.0 to 2.0.0
@@ -20,7 +20,2 @@ /// <reference path="./inversify-restify-utils.d.ts" /> | ||
}) | ||
.setErrorConfig((app: restify.Server) => { | ||
app.use((req: restify.Request, res: restify.Response, next: restify.Next) => { | ||
res.status(500).send("Something broke!"); | ||
}); | ||
}) | ||
.build() | ||
@@ -27,0 +22,0 @@ .listen(3000, "localhost"); |
@@ -20,3 +20,2 @@ // Type definitions for inversify 1.0.0-alpha.4 | ||
setConfig(fn: ConfigFunction): InversifyRestifyServer; | ||
setErrorConfig(fn: ConfigFunction): InversifyRestifyServer; | ||
build(): restify.Server; | ||
@@ -23,0 +22,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// Type definitions for inversify 2.0.0-beta.9 | ||
// Type definitions for inversify 2.0.0-rc.9 | ||
// Project: https://github.com/inversify/InversifyJS | ||
@@ -261,14 +261,2 @@ // Definitions by: inversify <https://github.com/inversify> | ||
export function makePropertyInjectDecorator(kernel: interfaces.Kernel): | ||
(serviceIdentifier: (string|Symbol|interfaces.Newable<any>)) => (proto: any, key: string) => void; | ||
export function makePropertyInjectNamedDecorator(kernel: interfaces.Kernel): | ||
(serviceIdentifier: (string|Symbol|interfaces.Newable<any>), named: string) => (proto: any, key: string) => void; | ||
export function makePropertyInjectTaggedDecorator(kernel: interfaces.Kernel): | ||
(serviceIdentifier: (string|Symbol|interfaces.Newable<any>), key: string, value: any) => (proto: any, propertyName: string) => void; | ||
export function makePropertyMultiInjectDecorator(kernel: interfaces.Kernel): | ||
(serviceIdentifier: (string|Symbol|interfaces.Newable<any>)) => (proto: any, key: string) => void; | ||
// constraint helpers | ||
@@ -275,0 +263,0 @@ export var traverseAncerstors: (request: interfaces.Request, constraint: (request: interfaces.Request) => boolean) => boolean; |
{ | ||
"name": "inversify-dts", | ||
"version": "1.9.0", | ||
"version": "2.0.0", | ||
"description": "The InversifyJS TypeScript type definitions", | ||
@@ -5,0 +5,0 @@ "main": "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
38259
743