mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
docs: fix addTypeTemplate
typos (#21520)
This commit is contained in:
parent
ce4f46385f
commit
f9acc20bef
@ -463,9 +463,9 @@ export default defineNuxtModule({
|
|||||||
|
|
||||||
#### Adding Type Declarations
|
#### 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
|
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:
|
If your module should augment types handled by Nuxt, you can use `addTypeTemplate` to perform this operation:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user