mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 09:02:03 +00:00
perf(nuxt): verbatim module syntax + restrict type discovery (#23447)
This commit is contained in:
parent
3bde91439a
commit
770d4c67f7
@ -134,9 +134,8 @@ export async function writeTypes (nuxt: Nuxt) {
|
|||||||
strict: nuxt.options.typescript?.strict ?? true,
|
strict: nuxt.options.typescript?.strict ?? true,
|
||||||
noImplicitThis: true,
|
noImplicitThis: true,
|
||||||
esModuleInterop: true,
|
esModuleInterop: true,
|
||||||
// TODO: enable by default in v3.8
|
types: [],
|
||||||
// types: [],
|
verbatimModuleSyntax: true,
|
||||||
// verbatimModuleSyntax: true,
|
|
||||||
allowJs: true,
|
allowJs: true,
|
||||||
noEmit: true,
|
noEmit: true,
|
||||||
resolveJsonModule: true,
|
resolveJsonModule: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user