MarcusNarcus
MarcusNarcus
NNuxt
Created by MarcusNarcus on 6/14/2024 in #❓・help
Custom Typescript Settings
Ah that's why I missed that info, there are two clusters spread far apart talking about TypeScript on that Configuration page, they are not all together in a single clump.
7 replies
NNuxt
Created by MarcusNarcus on 6/14/2024 in #❓・help
Custom Typescript Settings
Thank you
7 replies
NNuxt
Created by MarcusNarcus on 6/14/2024 in #❓・help
Custom Typescript Settings
My first assumption is just putting the attributes I want to change into ./tsconfig.json like so:
{
// https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json",
"compilerOptions": {
"allowImportingTsExtensions": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true
}
}
{
// https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json",
"compilerOptions": {
"allowImportingTsExtensions": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true
}
}
Appears to be working without any obvious breakages to the original config, please let me know if this the correct approach?
7 replies