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? 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
If dts: true is configured, it should support ts derivation, right? Is it my problem?
dts: true
Checked:#90
I found that the method I introduced should be correct
const count = ref(0) // not error function changeCount(x: Ref<number>) { // error occurred x.value++ }
// viteconfig.ts AutoImport({ imports: [ 'vue', 'vue/macros', 'vue-router', '@vueuse/core', ], dts: true, dirs: [ './src/composables', ], vueTemplate: true, })
{ "compilerOptions": { "baseUrl": ".", "module": "ESNext", "target": "es2016", "lib": [ "DOM", "ESNext" ], "strict": true, "jsx": "preserve", "esModuleInterop": true, "skipLibCheck": true, "moduleResolution": "node", "resolveJsonModule": true, "noUnusedLocals": true, "strictNullChecks": true, "allowJs": true, "forceConsistentCasingInFileNames": true, "types": [ "vite/client", "vite-plugin-pages/client", ], "paths": { "~/*": [ "src/*" ] } }, "include": [ "**/*.d.ts", ], "exclude": [ "dist", "node_modules" ] }
1
vsc + mac13
pnpm
The text was updated successfully, but these errors were encountered:
#61
Sorry, something went wrong.
No branches or pull requests
Describe the bug
If
dts: true
is configured, it should support ts derivation, right? Is it my problem?Checked:#90
I found that the method I introduced should be correct
Reproduction
1
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: