Add import type and export type support to TypeScript#11171
Add import type and export type support to TypeScript#11171nicolo-ribaudo merged 5 commits intomasterfrom
import type and export type support to TypeScript#11171Conversation
d9b4e19 to
ee1639a
Compare
|
The various parts of this PR have already been approved. |
|
I'm removing the "ready to be merged" label per #11173 (comment) |
|
Just out of interest: When can we expect a version (7.9.0?) containing this change to be shipped? |
|
I hope to release it at the end of the next week. |
|
I compiled a babel from this PR that I'm using because I really needed the feature: 🙈 Working well! |
This is ready to be merged already 🎆🎆 |
* Add parser support for type only imports in TS 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> * Add transform and printer test for type only imports in TS 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> * Update packages/babel-parser/src/plugins/typescript/index.js * Fix flow Co-authored-by: Brian Ng <bng412@gmail.com> Co-authored-by: Raja Sekar <rajasekar.murugan@omio.com> Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Kai Cataldo <kai@kaicataldo.com>
* [typescript] Implement "export type {}"
* test: add test on default-type-with-typescript
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
* 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>
* [plugin-transform-typescript]: onlyExplicitTypeImports * onlyExplicitTypeImports -> onlyRemoveTypeImports * Add test for exceptions
6399051 to
c90a132
Compare
|
Hey @nicolo-ribaudo, good work on getting this PR up! I'm also wondering when v7.9.0 will be out? |
#11053, #11122, #11157, #11173, #11179