@types/koa-mount
Advanced tools
Comparing version 3.0.1 to 4.0.0
@@ -1,5 +0,6 @@ | ||
// Type definitions for koa-mount 3.0 | ||
// Type definitions for koa-mount 4.0 | ||
// Project: https://github.com/koajs/mount | ||
// Definitions by: AmirSaber Sharifi <https://github.com/amirsaber> | ||
// Tomek Łaziuk <https://github.com/tlaziuk> | ||
// Vladislav Polyakov <https://github.com/polrk> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -10,5 +11,10 @@ // TypeScript Version: 2.3 | ||
declare function mount(app: Koa.Middleware | Koa): Koa.Middleware; | ||
declare function mount<StateT = any, CustomT = {}>( | ||
app: Koa.Middleware<StateT, CustomT> | Koa<StateT, CustomT> | ||
): Koa.Middleware<StateT, CustomT>; | ||
declare function mount(prefix: string, app: Koa.Middleware | Koa): Koa.Middleware; | ||
declare function mount<StateT = any, CustomT = {}>( | ||
prefix: string, | ||
app: Koa.Middleware<StateT, CustomT> | Koa<StateT, CustomT> | ||
): Koa.Middleware<StateT, CustomT>; | ||
@@ -15,0 +21,0 @@ declare namespace mount { } |
{ | ||
"name": "@types/koa-mount", | ||
"version": "3.0.1", | ||
"version": "4.0.0", | ||
"description": "TypeScript definitions for koa-mount", | ||
@@ -16,8 +16,15 @@ "license": "MIT", | ||
"githubUsername": "tlaziuk" | ||
}, | ||
{ | ||
"name": "Vladislav Polyakov", | ||
"url": "https://github.com/polrk", | ||
"githubUsername": "polrk" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/koa-mount" | ||
}, | ||
@@ -28,4 +35,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "1a679b20f505d20a48849b51d531ae535b1f574c2fa7410cd41735efb7bc28a0", | ||
"typesPublisherContentHash": "14b4bba675a602489c8cbf842e19dd4f3b912142368c605bed5621f45388f29b", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-mount | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-mount | ||
Additional Details | ||
* Last updated: Mon, 05 Feb 2018 23:37:41 GMT | ||
* Dependencies: koa | ||
* Last updated: Thu, 27 Jun 2019 18:01:33 GMT | ||
* Dependencies: @types/koa | ||
* Global values: none | ||
# Credits | ||
These definitions were written by AmirSaber Sharifi <https://github.com/amirsaber>, Tomek Łaziuk <https://github.com/tlaziuk>. | ||
These definitions were written by AmirSaber Sharifi <https://github.com/amirsaber>, Tomek Łaziuk <https://github.com/tlaziuk>, and Vladislav Polyakov <https://github.com/polrk>. |
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
3565
17