@types/method-override
Advanced tools
Comparing version 0.0.31 to 0.0.32
@@ -9,3 +9,3 @@ // Type definitions for method-override | ||
export interface Request { | ||
originalMethod?: string; | ||
originalMethod?: string | undefined; | ||
} | ||
@@ -12,0 +12,0 @@ } |
{ | ||
"name": "@types/method-override", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
"description": "TypeScript definitions for method-override", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/method-override", | ||
"license": "MIT", | ||
@@ -14,5 +15,7 @@ "contributors": [ | ||
"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/method-override" | ||
}, | ||
@@ -23,4 +26,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "f537e54acac324459538d9d654c656bf8040eee5e67fa0f0b3eb7f2cd4a3fcb9", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "318525eca1ca5250f11177beea88d0cd73535745817cd366e94e54b2dcd813a6", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,10 +8,37 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/method-override | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/method-override. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/method-override/index.d.ts) | ||
````ts | ||
// Type definitions for method-override | ||
// Project: https://github.com/expressjs/method-override | ||
// Definitions by: Santi Albo <https://github.com/santialbo> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
Additional Details | ||
* Last updated: Wed, 25 Oct 2017 18:38:03 GMT | ||
* Dependencies: express | ||
declare namespace Express { | ||
export interface Request { | ||
originalMethod?: string | undefined; | ||
} | ||
} | ||
import express = require('express'); | ||
declare namespace e { | ||
export interface MethodOverrideOptions { | ||
methods: string[]; | ||
} | ||
} | ||
declare function e(getter?: string | ((req: express.Request, res: express.Response) => string), options?: e.MethodOverrideOptions): express.RequestHandler; | ||
export = e; | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 22:03:04 GMT | ||
* Dependencies: [@types/express](https://npmjs.com/package/@types/express) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Santi Albo <https://github.com/santialbo>. | ||
These definitions were written by [Santi Albo](https://github.com/santialbo). |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4053
1
44