Change router.handle(request, env, ctx) to router.handle(request, extend)
This commit is contained in:
12
index.d.ts
vendored
12
index.d.ts
vendored
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user