@types/koa
Advanced tools
Comparing version 2.0.48 to 2.0.49
@@ -689,3 +689,3 @@ // Type definitions for Koa 2.x | ||
type ParameterizedContext<StateT = any, CustomT = {}> = BaseContext & { | ||
interface ExtendableContext extends BaseContext { | ||
app: Application; | ||
@@ -699,3 +699,2 @@ request: Request; | ||
accept: accepts.Accepts; | ||
state: StateT; | ||
/** | ||
@@ -705,2 +704,6 @@ * To bypass Koa's built-in response handling, you may explicitly set `ctx.respond = false;` | ||
respond?: boolean; | ||
} | ||
type ParameterizedContext<StateT = any, CustomT = {}> = ExtendableContext & { | ||
state: StateT; | ||
} & CustomT; | ||
@@ -707,0 +710,0 @@ |
{ | ||
"name": "@types/koa", | ||
"version": "2.0.48", | ||
"version": "2.0.49", | ||
"description": "TypeScript definitions for Koa", | ||
@@ -27,3 +27,4 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/koa" | ||
}, | ||
@@ -39,4 +40,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "4e42b1f8788df94b78f945a8453180d4f8606de73f9c60e52dcce84ad6c99f7a", | ||
"typesPublisherContentHash": "043118a44898277a7fb6c2516338d3b4c6a49ecdaf0933b747ef35225c3fab5b", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 31 Dec 2018 18:46:29 GMT | ||
* Last updated: Mon, 01 Jul 2019 19:56:15 GMT | ||
* Dependencies: @types/accepts, @types/cookies, @types/http-assert, @types/keygrip, @types/koa-compose, @types/node | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by DavidCai1993 <https://github.com/DavidCai1993>, jKey Lu <https://github.com/jkeylu>, Brice Bernard <https://github.com/brikou>. | ||
These definitions were written by DavidCai1993 <https://github.com/DavidCai1993>, jKey Lu <https://github.com/jkeylu>, and Brice Bernard <https://github.com/brikou>. |
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
21727
630