@types/koa-compose
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -11,5 +11,5 @@ // Type definitions for koa-compose 3.2 | ||
type Middleware<T> = (context: T, next: () => Promise<any>) => any; | ||
type ComposedMiddleware<T> = (context: T, next?: Middleware<T>) => Promise<void>; | ||
type ComposedMiddleware<T> = (context: T, next?: () => Promise<any>) => Promise<void>; | ||
} | ||
export = compose; |
{ | ||
"name": "@types/koa-compose", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "TypeScript definitions for koa-compose", | ||
"license": "MIT", | ||
"author": "jKey Lu <https://github.com/jkeylu>", | ||
"contributors": [ | ||
{ | ||
"name": "jKey Lu", | ||
"url": "https://github.com/jkeylu" | ||
} | ||
], | ||
"main": "", | ||
@@ -15,4 +20,4 @@ "repository": { | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "9c1f894ca5cb1ffd8be6784186c8966c0290f59edb6d3997eaf09f78aa77ca79", | ||
"typesPublisherContentHash": "9eebcd8f01e0f17621c3d95f713880f3f8dde40fc34cbe1765125eed073a5293", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,5 +11,4 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 05 Jan 2017 16:38:15 GMT | ||
* Library Dependencies: none | ||
* Module Dependencies: none | ||
* Last updated: Wed, 22 Mar 2017 18:52:00 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
@@ -16,0 +15,0 @@ |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
1638
3
10
17
1