Skip to content

Conversation

JoshuaKGoldberg
Copy link
Contributor

@JoshuaKGoldberg JoshuaKGoldberg commented Apr 1, 2023

When in a JS file (with the exception of JSDoc type imports), type-only declarations (interfaces and type aliases) are filtered out of completion entries.

Fixes #53339

Co-authored-by: Mateusz Burzyński [email protected]

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Apr 1, 2023
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review April 1, 2023 02:35
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as draft April 5, 2023 20:29
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review April 6, 2023 12:01
@JoshuaKGoldberg JoshuaKGoldberg requested a review from Andarist April 7, 2023 15:10
@JoshuaKGoldberg JoshuaKGoldberg force-pushed the no-types-in-esm-imports branch from 1a16619 to dd9ff9b Compare April 13, 2023 15:37
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as draft April 13, 2023 15:38
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review April 13, 2023 16:16
Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

Looks good although I had a couple of questions about the tests.

Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

Noticed a couple more things about symbolAppearsToBeTypeOnly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Backlog Bug PRs that fix a backlog bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Filter out types from esm import suggestions in JavaScript
6 participants