Skip to content

Conversation

@daopk
Copy link

@daopk daopk commented Oct 31, 2025

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:

dts: {
  resolve: ['@antfu/utils'],
},

This ensures proper type inference for the imports option and exposes supported presets correctly.

Linked Issues

Fixes #606

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

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 this pull request may close these issues.

imports option type is resolved as any

1 participant