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:
Tamás H. 2024-11-21 21:40:27 +01:00 committed by GitHub
parent edc299a043
commit e16ddb8ec3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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({