Is your feature request related to a problem?
在Visual Studio Code中打开项目时得到如下的错误提示
Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
Describe the solution you'd like
在TypeScript的6.0 Migration Guide中,已经说明缘由,并给出了一种迁移方案
npx @andrewbranch/ts5to6 --fixBaseUrl .
执行此脚本后将自动将tsconfig.josn修改为:
"paths": {
"@assets/*": ["./src/assets/*"],
"@i18n/*": ["./src/i18n/*"],
"@constants/*": ["./src/constants/*"],
"@utils/*": ["./src/utils/*"],
"@components/*": ["./src/components/*"],
"@pages/*": ["./src/pages/*"],
"@layouts/*": ["./src/layouts/*"],
"@styles/*": ["./src/styles/*"],
"@/*": ["./src/*"],
},
Describe alternatives you've considered
No response
Additional context
No response
Is your feature request related to a problem?
在
Visual Studio Code中打开项目时得到如下的错误提示Twilight/tsconfig.json
Line 8 in 93686af
Describe the solution you'd like
在TypeScript的6.0 Migration Guide中,已经说明缘由,并给出了一种迁移方案
npx @andrewbranch/ts5to6 --fixBaseUrl .执行此脚本后将自动将
tsconfig.josn修改为:Describe alternatives you've considered
No response
Additional context
No response