Skip to content
Myr

docs(request): fix jsdoc comments for some getters (#5445)

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

Remove extra parentheses.

authored by TOMIKAWA Sotaro · committed by GitHub · parent deff529 · Browse files · 1 file+4 added−4 removed
This commit

State

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

Diff stats

1 file+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:src/request.ts+4 added-4 removed
357 unmodified lines
358 return this.#validatedData?.[target] as unknown359 }360361 /**362 * `.url()` can get the request url strings.362 * `.url` can get the request url strings.363 *364 * @see {@link https://hono.dev/docs/api/request#url}365 *366 * @example
8 unmodified lines
375 return this.raw.url376 }377378 /**379 * `.method()` can get the method name of the request.379 * `.method` can get the method name of the request.380 *381 * @see {@link https://hono.dev/docs/api/request#method}382 *383 * @example
11 unmodified lines
395 return this.#matchResult396 }397398 /**399 * `.matchedRoutes()` can return a matched route in the handler399 * `.matchedRoutes` can return a matched route in the handler400 *401 * @deprecated402 *403 * Use matchedRoutes helper defined in "hono/route" instead.
22 unmodified lines
426 return this.#matchResult[0].map(([[, route]]) => route)427 }428429 /**430 * `routePath()` can retrieve the path registered within the handler430 * `.routePath` can retrieve the path registered within the handler431 *432 * @deprecated433 *434 * Use routePath helper defined in "hono/route" instead.
86 unmodified lines