Skip to content

Docs: Be able to create a service worker in TypeScript #87905

@guillaumebrunerie

Description

@guillaumebrunerie

What is the documentation issue?

Issue #33863 (with the same name as this one) was closed with the message "We have documentation on this now!" (#33863 (comment)).

But the linked documentation page does not show how to create a service worker in TypeScript at all, only in JavaScript (and the whole point of #33863 was to be able to create it in TypeScript, with it getting compiled to JavaScript to the appropriate place, and so on).

Is there any context that might help us understand?

So I think #33863 should be reopen, or the documentation should be updated to actually include instructions on how to create a service worker in TypeScript. Unfortunately I cannot comment on the other issue, so I created a new issue.

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/app/guides/progressive-web-apps#creating-a-pwa-with-nextjs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions