From 955aff985c69e83bd215628f6925b1f7d7b54c15 Mon Sep 17 00:00:00 2001 From: Ame_x <121654029+EdamAme-x@users.noreply.github.com> Date: Mon, 27 May 2024 23:51:31 +0000 Subject: [PATCH 1/2] docs: change jsdoc of onError --- src/hono-base.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/hono-base.ts b/src/hono-base.ts index cbab9203c..232c884a0 100644 --- a/src/hono-base.ts +++ b/src/hono-base.ts @@ -172,6 +172,23 @@ class Hono c.text("user")) + * app.route("/api", app2) // GET /api/user + * ``` + */ route< SubPath extends string, SubEnv extends Env, @@ -218,6 +235,13 @@ class Hono { * console.error(`${err}`) From a903386293cb0c4355c8eb215d392a779b73b590 Mon Sep 17 00:00:00 2001 From: Ame_x <121654029+EdamAme-x@users.noreply.github.com> Date: Tue, 28 May 2024 09:03:30 +0900 Subject: [PATCH 2/2] delete --- src/hono-base.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/hono-base.ts b/src/hono-base.ts index 232c884a0..488af4ec5 100644 --- a/src/hono-base.ts +++ b/src/hono-base.ts @@ -172,23 +172,6 @@ class Hono c.text("user")) - * app.route("/api", app2) // GET /api/user - * ``` - */ route< SubPath extends string, SubEnv extends Env,