diff --git a/index.d.ts b/index.d.ts index f97b116..6622c42 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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. */ body: any + + /** + * Make it user extendable + */ + [key: string]: any } /** * Response Object diff --git a/package.json b/package.json index c92333f..08f0397 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tsndr/cloudflare-worker-router", - "version": "1.3.2", + "version": "1.3.3", "description": "", "main": "index.js", "scripts": {},