Add "exportKind: type" when needed with TS#11157
Merged
nicolo-ribaudo merged 2 commits intobabel:feat-7.9.0/ts-import-typefrom Feb 26, 2020
Merged
Add "exportKind: type" when needed with TS#11157nicolo-ribaudo merged 2 commits intobabel:feat-7.9.0/ts-import-typefrom
nicolo-ribaudo merged 2 commits intobabel:feat-7.9.0/ts-import-typefrom
Conversation
Co-authored-by: Henry Zhu <smiley.we@gmail.com> Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Siddhant N Trivedi <sidntrivedi012@gmail.com>
existentialism
approved these changes
Feb 22, 2020
kaicataldo
approved these changes
Feb 25, 2020
nicolo-ribaudo
added a commit
that referenced
this pull request
Feb 26, 2020
* Add "exportKind: type" to TS type export declratation Co-authored-by: Henry Zhu <smiley.we@gmail.com> Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Siddhant N Trivedi <sidntrivedi012@gmail.com> * Add test to @babel/generator Co-authored-by: Henry Zhu <hi@henryzoo.com> Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Siddhant N Trivedi <sidntrivedi012@gmail.com>
nicolo-ribaudo
added a commit
that referenced
this pull request
Mar 2, 2020
* Add "exportKind: type" to TS type export declratation Co-authored-by: Henry Zhu <smiley.we@gmail.com> Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Siddhant N Trivedi <sidntrivedi012@gmail.com> * Add test to @babel/generator Co-authored-by: Henry Zhu <hi@henryzoo.com> Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Siddhant N Trivedi <sidntrivedi012@gmail.com>
nicolo-ribaudo
added a commit
that referenced
this pull request
Mar 16, 2020
* Add support for type only imports in TS (#11053) * Implement "export type {}" (#11122) * Add "exportKind: type" when needed with TS (#11157) * Add `onlyRemoveTypeImports` option to `transform-typescript` (#11173) * Add onlyRemoveTypeImports to preset-typescript (#11179) Co-authored-by: Brian Ng <bng412@gmail.com> Co-authored-by: Raja Sekar <rajasekarm.dev@gmail.com> Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Kai Cataldo <kai@kaicataldo.com> Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Henry Zhu <smiley.we@gmail.com> Co-authored-by: Siddhant N Trivedi <sidntrivedi012@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These are type-only exports:
interface X {}type A = 2declare var x;declare function y(): TThese are values:
enum E {}namespace N {}