Skip to content
Myr

fix(hono-base): fixed a typo (#1877)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* fix(hono-base): fixed a typo * denoify

authored by Yusuke Wada · committed by GitHub · parent 4f8ffcf · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:deno_dist/hono-base.ts+1 added-1 removed
110 unmodified lines
111 // eslint-disable-next-line @typescript-eslint/no-explicit-any112 return this as any113 }114115 // Implementation of app.use(...handlers[]) or app.get(path, ...handlers[])115 // Implementation of app.use(...handlers[]) or app.use(path, ...handlers[])116 // eslint-disable-next-line @typescript-eslint/no-explicit-any117 this.use = (arg1: string | MiddlewareHandler<any>, ...handlers: MiddlewareHandler<any>[]) => {118 if (typeof arg1 === 'string') {119 this.#path = arg1
267 unmodified lines
modified:src/hono-base.ts+1 added-1 removed
110 unmodified lines
111 // eslint-disable-next-line @typescript-eslint/no-explicit-any112 return this as any113 }114115 // Implementation of app.use(...handlers[]) or app.get(path, ...handlers[])115 // Implementation of app.use(...handlers[]) or app.use(path, ...handlers[])116 // eslint-disable-next-line @typescript-eslint/no-explicit-any117 this.use = (arg1: string | MiddlewareHandler<any>, ...handlers: MiddlewareHandler<any>[]) => {118 if (typeof arg1 === 'string') {119 this.#path = arg1
267 unmodified lines