1
0

add default any

This commit is contained in:
2022-11-24 17:36:33 +01:00
parent fbc862a1f0
commit efd74609f1

View File

@@ -103,7 +103,7 @@ export interface RouterNext {
* @param {RouterContext} ctx * @param {RouterContext} ctx
* @returns {Promise<void> | void} * @returns {Promise<void> | void}
*/ */
export interface RouterHandler<TEnv> { export interface RouterHandler<TEnv = any> {
(ctx: RouterContext<TEnv>): Promise<void> | void (ctx: RouterContext<TEnv>): Promise<void> | void
} }