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
The intent of the generateDTS function to read history and merge is ambiguous, and the code is very old.
version: unplugin-auto-import:^0.19.0 vite: ^6.0.4 config:
AutoImport({ dirs: [ resolve(__dirname, './src/utils/**') ], dts: './src/auto-imports.d.ts', })
error:
const uid66: typeof import('./utils/html')['uid66'] const uid6611: typeof import('./utils/html')['uid6611'] const uid661122: typeof import('./utils/html')['uid661122']
generateDTS:
unplugin-auto-import/src/core/ctx.ts
Lines 130 to 161 in e5cc63f
The text was updated successfully, but these errors were encountered:
Same as #433 , and the historical reasons in #341 .
@antfu If there is a need for an option to control the DTS generation mode between 'overwrite' and 'additional'.
Sorry, something went wrong.
If there is a need for an option to control the DTS generation mode between 'overwrite' and 'additional'.
I am up to it! PR welcome :)
Ok, I'll make a PR later.
dtsMode
Successfully merging a pull request may close this issue.
The intent of the generateDTS function to read history and merge is ambiguous, and the code is very old.
version:
unplugin-auto-import:^0.19.0
vite: ^6.0.4
config:
error:
generateDTS:
unplugin-auto-import/src/core/ctx.ts
Lines 130 to 161 in e5cc63f
The text was updated successfully, but these errors were encountered: