Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@tsconfig/strictest conflict with @tsconfig/vite-react #199

Open
guoyunhe opened this issue Jun 25, 2023 · 0 comments · May be fixed by #278
Open

@tsconfig/strictest conflict with @tsconfig/vite-react #199

guoyunhe opened this issue Jun 25, 2023 · 0 comments · May be fixed by #278

Comments

@guoyunhe
Copy link

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.

@zanminkian zanminkian linked a pull request Oct 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant