Make Request user exdendable
This commit is contained in:
5
index.d.ts
vendored
5
index.d.ts
vendored
@@ -298,6 +298,11 @@ type RouterRequest = {
|
|||||||
* Only available if method is `POST`, `PUT` or `PATCH`. Contains either the received body string or a parsed object if valid JSON was sent.
|
* Only available if method is `POST`, `PUT` or `PATCH`. Contains either the received body string or a parsed object if valid JSON was sent.
|
||||||
*/
|
*/
|
||||||
body: any
|
body: any
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Make it user extendable
|
||||||
|
*/
|
||||||
|
[key: string]: any
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Response Object
|
* Response Object
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsndr/cloudflare-worker-router",
|
"name": "@tsndr/cloudflare-worker-router",
|
||||||
"version": "1.3.2",
|
"version": "1.3.3",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {},
|
"scripts": {},
|
||||||
|
|||||||
Reference in New Issue
Block a user