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

ts 4.2: type imports in import equal declaration #3183

Closed
armano2 opened this issue Mar 15, 2021 · 0 comments · Fixed by #3189
Closed

ts 4.2: type imports in import equal declaration #3183

armano2 opened this issue Mar 15, 2021 · 0 comments · Fixed by #3189
Assignees
Labels
AST PRs and Issues about the AST structure bug Something isn't working package: typescript-estree Issues related to @typescript-eslint/typescript-estree

Comments

@armano2
Copy link
Member

armano2 commented Mar 15, 2021

Currently we are not including information about type import when used as import equal declaration

import type A = require("A");
export import type B = require("B");

ref babel/babel#12962, microsoft/TypeScript#41573

REPL - test

@armano2 armano2 added package: typescript-estree Issues related to @typescript-eslint/typescript-estree AST PRs and Issues about the AST structure bug Something isn't working labels Mar 15, 2021
@armano2 armano2 changed the title type imports in TSImportEqualsDeclaration ts 4.2: type imports in import equal declaration Mar 16, 2021
@armano2 armano2 self-assigned this Mar 18, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
AST PRs and Issues about the AST structure bug Something isn't working package: typescript-estree Issues related to @typescript-eslint/typescript-estree
Projects
None yet
1 participant