@types/koa
Advanced tools
Comparing version 2.0.35 to 2.0.36
@@ -148,2 +148,4 @@ // Type definitions for Koa 2.x | ||
} | ||
export type Middleware = (ctx: Koa.Context, next: () => Promise<any>) => any; | ||
} | ||
@@ -178,3 +180,3 @@ | ||
onerror(err: any): void; | ||
use(middleware: (ctx: Koa.Context, next: () => Promise<any>) => any): Koa; | ||
use(middleware: Koa.Middleware): Koa; | ||
@@ -181,0 +183,0 @@ toJSON(): any; |
{ | ||
"name": "@types/koa", | ||
"version": "2.0.35", | ||
"version": "2.0.36", | ||
"description": "TypeScript definitions for Koa", | ||
@@ -18,3 +18,3 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "3b3997c1a3a474272805bbd233ca96d5d6e5e601ec249f81626ffa5e14972fb1" | ||
"typesPublisherContentHash": "0a8e009b5228747daa363c90b19f6412be20e680b306e4401ab64de22d737a9e" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 13 Dec 2016 21:09:28 GMT | ||
* Last updated: Mon, 19 Dec 2016 22:35:58 GMT | ||
* Library Dependencies: node | ||
@@ -14,0 +14,0 @@ * Module Dependencies: cookies, events, http, net |
@@ -27,3 +27,3 @@ { | ||
"hasPackageJson": false, | ||
"contentHash": "3b3997c1a3a474272805bbd233ca96d5d6e5e601ec249f81626ffa5e14972fb1" | ||
"contentHash": "0a8e009b5228747daa363c90b19f6412be20e680b306e4401ab64de22d737a9e" | ||
} |
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
7417
184