@types/koa
Advanced tools
+6
-3
@@ -546,2 +546,5 @@ /* =================== USAGE =================== | ||
| declare namespace Application { | ||
| interface DefaultContextDelegatedRequest extends ContextDelegatedRequest {} | ||
| interface DefaultContextDelegatedResponse extends ContextDelegatedResponse {} | ||
| type DefaultStateExtends = any; | ||
@@ -568,3 +571,3 @@ /** | ||
| interface BaseRequest extends ContextDelegatedRequest { | ||
| interface BaseRequest extends DefaultContextDelegatedRequest { | ||
| /** | ||
@@ -597,3 +600,3 @@ * Get the charset when present or undefined. | ||
| interface BaseResponse extends ContextDelegatedResponse { | ||
| interface BaseResponse extends DefaultContextDelegatedResponse { | ||
| /** | ||
@@ -660,3 +663,3 @@ * Return the request socket. | ||
| interface BaseContext extends ContextDelegatedRequest, ContextDelegatedResponse { | ||
| interface BaseContext extends DefaultContextDelegatedRequest, DefaultContextDelegatedResponse { | ||
| /** | ||
@@ -663,0 +666,0 @@ * util.inspect() implementation, which |
+3
-3
| { | ||
| "name": "@types/koa", | ||
| "version": "3.0.2", | ||
| "version": "3.0.3", | ||
| "description": "TypeScript definitions for koa", | ||
@@ -63,4 +63,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa", | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "fee57460bf8b4acef5cf367db2510a5410c1ae3e2c7adf20936addbdcb55b197", | ||
| "typeScriptVersion": "5.2" | ||
| "typesPublisherContentHash": "f8bfaa892efa1596c809a277e5df6fbb3ba1fe5ab3868ece05b4949a5c9ce802", | ||
| "typeScriptVersion": "5.3" | ||
| } |
+1
-1
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Wed, 18 Mar 2026 14:21:21 GMT | ||
| * Last updated: Tue, 19 May 2026 17:48:56 GMT | ||
| * Dependencies: [@types/accepts](https://npmjs.com/package/@types/accepts), [@types/content-disposition](https://npmjs.com/package/@types/content-disposition), [@types/cookies](https://npmjs.com/package/@types/cookies), [@types/http-assert](https://npmjs.com/package/@types/http-assert), [@types/http-errors](https://npmjs.com/package/@types/http-errors), [@types/keygrip](https://npmjs.com/package/@types/keygrip), [@types/koa-compose](https://npmjs.com/package/@types/koa-compose), [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ |
25928
0.74%673
0.3%