@types/koa-mount
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -11,10 +11,10 @@ // Type definitions for koa-mount 4.0 | ||
declare function mount<StateT = any, CustomT = {}>( | ||
app: Koa.Middleware<StateT, CustomT> | Koa<StateT, CustomT> | ||
): Koa.Middleware<StateT, CustomT>; | ||
declare function mount<StateT = Koa.DefaultState, ContextT = Koa.DefaultContext>( | ||
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT> | ||
): Koa.Middleware<StateT, ContextT>; | ||
declare function mount<StateT = any, CustomT = {}>( | ||
declare function mount<StateT = Koa.DefaultState, ContextT = Koa.DefaultContext>( | ||
prefix: string, | ||
app: Koa.Middleware<StateT, CustomT> | Koa<StateT, CustomT> | ||
): Koa.Middleware<StateT, CustomT>; | ||
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT> | ||
): Koa.Middleware<StateT, ContextT>; | ||
@@ -21,0 +21,0 @@ declare namespace mount { } |
{ | ||
"name": "@types/koa-mount", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "TypeScript definitions for koa-mount", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-mount", | ||
"license": "MIT", | ||
@@ -24,3 +25,3 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -35,4 +36,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "14b4bba675a602489c8cbf842e19dd4f3b912142368c605bed5621f45388f29b", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "ee91b2a00d7ad0c8add8f4f1a67c6e95feb250eb007e28418c2caed8e6c1fbd8", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -8,10 +8,36 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-mount | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-mount. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-mount/index.d.ts) | ||
````ts | ||
// 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 | ||
// TypeScript Version: 2.3 | ||
Additional Details | ||
* Last updated: Thu, 27 Jun 2019 18:01:33 GMT | ||
* Dependencies: @types/koa | ||
import Koa = require("koa"); | ||
declare function mount<StateT = Koa.DefaultState, ContextT = Koa.DefaultContext>( | ||
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT> | ||
): Koa.Middleware<StateT, ContextT>; | ||
declare function mount<StateT = Koa.DefaultState, ContextT = Koa.DefaultContext>( | ||
prefix: string, | ||
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT> | ||
): Koa.Middleware<StateT, ContextT>; | ||
declare namespace mount { } | ||
export = mount; | ||
```` | ||
### Additional Details | ||
* Last updated: Wed, 25 Aug 2021 04:01:22 GMT | ||
* Dependencies: [@types/koa](https://npmjs.com/package/@types/koa) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by AmirSaber Sharifi <https://github.com/amirsaber>, Tomek Łaziuk <https://github.com/tlaziuk>, and Vladislav Polyakov <https://github.com/polrk>. | ||
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4696
0
43