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

feat(es/parser): support type-only import equals declaration #1695

Merged
merged 5 commits into from
May 15, 2021
Merged

feat(es/parser): support type-only import equals declaration #1695

merged 5 commits into from
May 15, 2021

Conversation

g-plane
Copy link
Contributor

@g-plane g-plane commented May 14, 2021

This is a TypeScript 4.2 feature:

import type React = require('react')

TypeScript playground

Ref: microsoft/TypeScript#41573

@kdy1 kdy1 merged commit 1dbc364 into swc-project:master May 15, 2021
@kdy1 kdy1 added this to the v1.2.58 milestone May 15, 2021
@g-plane g-plane deleted the type-only-import-equals branch May 15, 2021 05:38
@swc-project swc-project locked as resolved and limited conversation to collaborators Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants