@types/connect
Advanced tools
Comparing version 3.4.31 to 3.4.32
// Type definitions for connect v3.4.0 | ||
// Project: https://github.com/senchalabs/connect | ||
// Definitions by: Maxime LUCE <https://github.com/SomaticIT> | ||
// Evan Hahn <https://github.com/EvanHahn> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -20,5 +21,7 @@ | ||
type NextFunction = (err?: any) => void; | ||
export type SimpleHandleFunction = (req: http.IncomingMessage, res: http.ServerResponse) => void; | ||
export type NextHandleFunction = (req: http.IncomingMessage, res: http.ServerResponse, next: Function) => void; | ||
export type ErrorHandleFunction = (err: Error, req: http.IncomingMessage, res: http.ServerResponse, next: Function) => void; | ||
export type NextHandleFunction = (req: http.IncomingMessage, res: http.ServerResponse, next: NextFunction) => void; | ||
export type ErrorHandleFunction = (err: any, req: http.IncomingMessage, res: http.ServerResponse, next: NextFunction) => void; | ||
export type HandleFunction = SimpleHandleFunction | NextHandleFunction | ErrorHandleFunction; | ||
@@ -25,0 +28,0 @@ |
{ | ||
"name": "@types/connect", | ||
"version": "3.4.31", | ||
"version": "3.4.32", | ||
"description": "TypeScript definitions for connect", | ||
@@ -9,3 +9,9 @@ "license": "MIT", | ||
"name": "Maxime LUCE", | ||
"url": "https://github.com/SomaticIT" | ||
"url": "https://github.com/SomaticIT", | ||
"githubUsername": "SomaticIT" | ||
}, | ||
{ | ||
"name": "Evan Hahn", | ||
"url": "https://github.com/EvanHahn", | ||
"githubUsername": "EvanHahn" | ||
} | ||
@@ -22,4 +28,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "6a57450806ce3c8be2bdd714e3a8a77f261eb70203dd67b0b8185a98dedbf713", | ||
"typesPublisherContentHash": "d988cf1d88b273d694c4fcfe3699c4785f7e60ea0c8e094b598922c43ab3fb4e", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 21 Aug 2017 21:49:18 GMT | ||
* Last updated: Tue, 17 Apr 2018 01:01:05 GMT | ||
* Dependencies: http, node | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Maxime LUCE <https://github.com/SomaticIT>. | ||
These definitions were written by Maxime LUCE <https://github.com/SomaticIT>, Evan Hahn <https://github.com/EvanHahn>. |
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
5943
80