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

Add exportKind: "type" for type-only export decarations #11132

Open
sidntrivedi012 opened this issue Feb 12, 2020 · 1 comment
Open

Add exportKind: "type" for type-only export decarations #11132

sidntrivedi012 opened this issue Feb 12, 2020 · 1 comment

Comments

@sidntrivedi012
Copy link
Contributor

@sidntrivedi012 sidntrivedi012 commented Feb 12, 2020

Feature Request

  • I would like to work on this feature!

Is your feature request related to a problem? Please describe.
As of now(until the export type PR gets merged), we have exportKind: value for values as well as types. This creates some problems in parsing and then transforming the typescript code correctly.

This feature is part of #10981.

Describe the solution you'd like
Add exportKind: "type" for type-only export decarations like export type A = 2 or export interface B {}, namespaces etc.

Teachability, Documentation, Adoption, Migration Strategy
Maybe we need to tweak the parser and then the generator with some conditions. Excited to work on it.

@babel-bot

This comment has been minimized.

Copy link
Collaborator

@babel-bot babel-bot commented Feb 12, 2020

Hey @sidntrivedi012! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.