mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 09:02:03 +00:00
Update 8.typescript.md
First time Nuxt docs reader here. Adding "build or development time" is technically more correct here compared to 'build time' only, because the example shows the value for development (by setting it to true instead of 'build')
This commit is contained in:
parent
edc299a043
commit
e16ddb8ec3
@ -35,7 +35,7 @@ Then, run [`nuxi typecheck`](/docs/api/commands/typecheck) command to check your
|
|||||||
npx nuxi typecheck
|
npx nuxi typecheck
|
||||||
```
|
```
|
||||||
|
|
||||||
To enable type-checking at build time, you can also use the [`typescript.typeCheck`](/docs/api/nuxt-config#typecheck) option in your `nuxt.config` file:
|
To enable type-checking at build or development time, you can also use the [`typescript.typeCheck`](/docs/api/nuxt-config#typecheck) option in your `nuxt.config` file:
|
||||||
|
|
||||||
```ts twoslash [nuxt.config.ts]
|
```ts twoslash [nuxt.config.ts]
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
|
Loading…
Reference in New Issue
Block a user