Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix addTypeTemplate typos #21520

Merged
merged 1 commit into from
Jun 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/2.guide/3.going-further/3.modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,9 @@ export default defineNuxtModule({

#### Adding Type Declarations

You might also want to add a type declaration to the user's project (for example, to augment an Nuxt interface
You might also want to add a type declaration to the user's project (for example, to augment a Nuxt interface
or provide a global type of your own). For this, Nuxt provides the `addTypeTemplate` utility that both
writes a template to disk and adds a reference to it in the generated `nuxt.d.ts` file that.
writes a template to the disk and adds a reference to it in the generated `nuxt.d.ts` file that.

If your module should augment types handled by Nuxt, you can use `addTypeTemplate` to perform this operation:

Expand Down