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

Oxc Parser - failed to parse import asserts in type alias #4601

Closed
EliLichtblau opened this issue Aug 2, 2024 · 0 comments · Fixed by #4610
Closed

Oxc Parser - failed to parse import asserts in type alias #4601

EliLichtblau opened this issue Aug 2, 2024 · 0 comments · Fixed by #4610
Assignees
Labels
C-bug Category - Bug

Comments

@EliLichtblau
Copy link
Contributor

This is surprisingly valid TS:

type Vite =  typeof import("vite", { assert: { "resolution-mode": "import" } });

It looks like oxc fails to parse this in the playground.

TS playground
oxc playgroud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category - Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants