mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Update index.d.ts
This commit is contained in:
5
types/koa/index.d.ts
vendored
5
types/koa/index.d.ts
vendored
@@ -659,6 +659,10 @@ declare namespace Application {
|
||||
* Default error handling.
|
||||
*/
|
||||
onerror(err: Error): void;
|
||||
/**
|
||||
* Custom properties.
|
||||
*/
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
interface Request extends BaseRequest {
|
||||
@@ -694,7 +698,6 @@ declare namespace Application {
|
||||
* To bypass Koa's built-in response handling, you may explicitly set `ctx.respond = false;`
|
||||
*/
|
||||
respond?: boolean;
|
||||
[key: string]: any;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user