add default any
This commit is contained in:
@@ -103,7 +103,7 @@ export interface RouterNext {
|
||||
* @param {RouterContext} ctx
|
||||
* @returns {Promise<void> | void}
|
||||
*/
|
||||
export interface RouterHandler<TEnv> {
|
||||
export interface RouterHandler<TEnv = any> {
|
||||
(ctx: RouterContext<TEnv>): Promise<void> | void
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user