1
0

Change router.handle(request, env, ctx) to router.handle(request, extend)

This commit is contained in:
2022-03-18 20:03:29 +01:00
parent 61a02ca9db
commit f7a236f1f2
3 changed files with 5 additions and 15 deletions

12
index.d.ts vendored
View File

@@ -288,17 +288,9 @@ type RouterRequest = {
*/
url: string
/**
* Environment object
* Extend request object with custom properties
*/
env: any
/**
* Context object
*/
ctx: any
/**
* Cloudflare object
*/
cf: any
extend: any
/**
* Object containing all parameters defined in the url string
*/