@types/connect
Advanced tools
Comparing version 3.4.32 to 3.4.33
@@ -21,7 +21,11 @@ // Type definitions for connect v3.4.0 | ||
export class IncomingMessage extends http.IncomingMessage { | ||
originalUrl?: http.IncomingMessage["url"]; | ||
} | ||
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: NextFunction) => void; | ||
export type ErrorHandleFunction = (err: any, req: http.IncomingMessage, res: http.ServerResponse, next: NextFunction) => void; | ||
export type SimpleHandleFunction = (req: IncomingMessage, res: http.ServerResponse) => void; | ||
export type NextHandleFunction = (req: IncomingMessage, res: http.ServerResponse, next: NextFunction) => void; | ||
export type ErrorHandleFunction = (err: any, req: IncomingMessage, res: http.ServerResponse, next: NextFunction) => void; | ||
export type HandleFunction = SimpleHandleFunction | NextHandleFunction | ErrorHandleFunction; | ||
@@ -28,0 +32,0 @@ |
{ | ||
"name": "@types/connect", | ||
"version": "3.4.32", | ||
"version": "3.4.33", | ||
"description": "TypeScript definitions for connect", | ||
@@ -19,5 +19,7 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/connect" | ||
}, | ||
@@ -28,4 +30,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "d988cf1d88b273d694c4fcfe3699c4785f7e60ea0c8e094b598922c43ab3fb4e", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "d19c4861b6d43a27e57437c43e111f73cb2ba46b364d4f737a8ba379b4f4eddb", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect. | ||
Additional Details | ||
* Last updated: Tue, 17 Apr 2018 01:01:05 GMT | ||
* Dependencies: http, node | ||
### Additional Details | ||
* Last updated: Tue, 17 Dec 2019 13:27:31 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Maxime LUCE <https://github.com/SomaticIT>, Evan Hahn <https://github.com/EvanHahn>. | ||
These definitions were written by Maxime LUCE (https://github.com/SomaticIT), and Evan Hahn (https://github.com/EvanHahn). |
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
6064
83