Skip to content

Commit

Permalink
docs: change jsdoc of .fire
Browse files Browse the repository at this point in the history
  • Loading branch information
EdamAme-x committed May 28, 2024
1 parent dfbc6c4 commit 4e75b78
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/hono-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,10 @@ class Hono<E extends Env = Env, S extends Schema = {}, BasePath extends string =
/**
* `.fire()` automatically adds a global fetch event listener.
* This can be useful for environments that adhere to the Service Worker API, such as non-ES module Cloudflare Workers.
* @see https://hono.dev/api/hono#fire
* @see https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API
* @see https://developers.cloudflare.com/workers/reference/migrate-to-module-workers/
*
* @see {@link https://hono.dev/api/hono#fire}
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API}
* @see {@link https://developers.cloudflare.com/workers/reference/migrate-to-module-workers}
*/
fire = () => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
Expand Down

0 comments on commit 4e75b78

Please sign in to comment.