1
0

Update to v1.1.10

This commit is contained in:
2022-01-18 11:11:37 +01:00
parent 1d68898377
commit 493a4ccf9a

2
index.d.ts vendored
View File

@@ -54,7 +54,7 @@ declare class Router {
* @property {Object<string, string>} headers Object you can set response headers in * @property {Object<string, string>} headers Object you can set response headers in
* @property {number} status Return status code (default: `204`) * @property {number} status Return status code (default: `204`)
* @property {Object<string, string> | string} body Either an `object` (will be converted to JSON) or a string * @property {Object<string, string> | string} body Either an `object` (will be converted to JSON) or a string
* @property {Response} response A response object that is to be returned, this will void all other res properties and return this as is. * @property {Response} raw A response object that is to be returned, this will void all other res properties and return this as is.
*/ */
/** /**
* Next Function * Next Function