@tsconfig/strictest conflict with @tsconfig/vite-react
Author: guoyunheCreated Jun 25, 2023Updated Mar 28, 2025
tsconfig:
{
"extends": ["@tsconfig/vite-react/tsconfig.json", "@tsconfig/strictest/tsconfig.json"],
"compilerOptions": {
"paths": {
"@guoyunhe/react-fetch": ["./src"]
},
"types": [
"node",
"jest",
"@guoyunhe/react-lib-scripts/assets",
"@guoyunhe/react-lib-scripts/global"
]
}
}TypeScript 5 have the following error:
error TS5052: Option 'checkJs' cannot be specified without specifying option 'allowJs'.It is because that @tsconfig/vite-react has "allowJs": false, which is not necessary.
Source: tsconfig/bases