We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Upgrading to latest 5.6.2 version is not working as expected and gives errors like:
Parameter 'xxx' implicitly has an 'any' type Property 'xxx' does not exist on type
Install vite and plugin checker on latest version, update the vite.config.ts to be like this:
vite.config.ts
import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react-swc'; import viteTsconfigPaths from 'vite-tsconfig-paths'; import pluginChecker from 'vite-plugin-checker'; // https://vitejs.dev/config/ export default defineConfig(({ mode }) => ({ plugins: [ mode === 'development' ? pluginChecker({ typescript: true }) : null, react(), viteTsconfigPaths(), server: { port: 3000, open: true }, }));
I expect typescript to compile the files without errors, where I have strong typed variables.
System: OS: Linux 5.15 Ubuntu 24.04 LTS 24.04 LTS (Noble Numbat) CPU: (16) x64 12th Gen Intel(R) Core(TM) i7-12650H Memory: 16.78 GB / 19.54 GB Container: Yes Shell: 5.2.21 - /bin/bash Binaries: Node: 22.6.0 - ~/.nvm/versions/node/v22.6.0/bin/node npm: 10.8.3 - ~/.nvm/versions/node/v22.6.0/bin/npm pnpm: 9.11.0 - ~/.nvm/versions/node/v22.6.0/bin/pnpm bun: 1.1.29 - ~/.bun/bin/bun npmPackages: vite-plugin-checker: ^0.8.0 => 0.8.0
### Additional context
{ "compilerOptions": { /* Base Options: */ "esModuleInterop": true, "skipLibCheck": true, "target": "ESNext", "allowJs": false, "resolveJsonModule": true, "moduleDetection": "force", "isolatedModules": true,
/* Strictness */ "strict": true, "noUncheckedIndexedAccess": false, "allowUnusedLabels": true, "allowUnreachableCode": false, "exactOptionalPropertyTypes": false, "noFallthroughCasesInSwitch": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": false, "noUnusedLocals": false, "noUnusedParameters": false, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "verbatimModuleSyntax": false, "noEmit": true, /* If transpiling with TypeScript: */ "module": "ESNext", "outDir": "build", "sourceMap": true, "types": [ "vite/client" ], "lib": ["dom", "dom.iterable", "esnext"], "moduleResolution": "Bundler", "jsx": "react-jsx", "baseUrl": "./src" }, "include": ["src"]
}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Upgrading to latest 5.6.2 version is not working as expected and gives errors like:
Reproduction
Install vite and plugin checker on latest version, update the
vite.config.ts
to be like this:Expected behavior
I expect typescript to compile the files without errors, where I have strong typed variables.
System Info
{
"compilerOptions": {
/* Base Options: */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "ESNext",
"allowJs": false,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
}
The text was updated successfully, but these errors were encountered: