ITADN

fix: resolve `@antfu/utils` types in dts output

#607Pull Requestdaopk 创建于 2025-10-31
D
daopkcommented
### Description Fix type resolution for the `imports` option — it was showing as `any` in TypeScript. This PR updates the tsdown config to bundle `@antfu/utils` types in the generated `.d.ts` output: ```ts dts: { resolve: ['@antfu/utils'], }, ``` This ensures proper type inference for the imports option and exposes supported presets correctly. ### Linked Issues Fixes #606
合并状态:未合并 2 条评论