Skip to content
New issue

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

Support trailing commas in typeof import() #61495

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nicolo-ribaudo
Copy link

Fixes #61489.

The import attributes proposal added support for trailing commas in dynamic import calls. This PR's aligns TypeScript's type-level import() with JavaScript's value-level import().

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Mar 27, 2025
@nicolo-ribaudo nicolo-ribaudo force-pushed the import-trailing-comma branch from dfe8cba to b70f094 Compare March 27, 2025 14:22
@nicolo-ribaudo nicolo-ribaudo reopened this Apr 1, 2025
@typescript-bot typescript-bot added For Backlog Bug PRs that fix a backlog bug and removed For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Apr 1, 2025
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
Status: Not started
Development

Successfully merging this pull request may close these issues.

Trailing comma in dynamic import should be allowed also when used in a typeof type
2 participants