Skip to content

fix: ata return type - #3002

Merged
Jake Bailey (jakebailey) merged 3 commits into
microsoft:v2from
antfu:fix/ata-return-type
Jun 4, 2024
Merged

fix: ata return type#3002
Jake Bailey (jakebailey) merged 3 commits into
microsoft:v2from
antfu:fix/ata-return-type

Conversation

@antfu

@antfu Anthony Fu (antfu) commented Dec 17, 2023

Copy link
Copy Markdown
Contributor

It actually returns a Promise. Would be nice to provide that info so users could await for it to resolve.

return resolveDeps(initialSourceFile, 0).then(t => {
if (estimatedDownloaded > 0) {
config.delegate.finished?.(fsMap)
}
})

@jakebailey Jake Bailey (jakebailey) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but will require a package release.

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.

3 participants