Skip to content

Add onlyRemoveTypeImports to preset-typescript#11179

Merged
nicolo-ribaudo merged 1 commit intofeat-7.9.0/ts-import-typefrom
ts-preset-opt
Mar 1, 2020
Merged

Add onlyRemoveTypeImports to preset-typescript#11179
nicolo-ribaudo merged 1 commit intofeat-7.9.0/ts-import-typefrom
ts-preset-opt

Conversation

@existentialism
Copy link
Copy Markdown
Member

@existentialism existentialism commented Feb 27, 2020

Q                       A
Tests Added + Pass? Yes
License MIT

Let's get this import/export types PR landed :)

I'll throw up a docs PR too, in a sec.

Sidenote, we'll want to also add this option to the plugin validation PR (https://github.com/babel/babel/pull/10927/files).

@nicolo-ribaudo nicolo-ribaudo added PR: New Feature 🚀 A type of pull request used for our changelog categories area: typescript labels Feb 27, 2020
JLHwung added a commit to JLHwung/babel that referenced this pull request Feb 29, 2020
@JLHwung
Copy link
Copy Markdown
Contributor

JLHwung commented Feb 29, 2020

The sidenote is resolved in #10927 .

@nicolo-ribaudo nicolo-ribaudo merged commit 6399051 into feat-7.9.0/ts-import-type Mar 1, 2020
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>
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jun 1, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 1, 2020
@nicolo-ribaudo nicolo-ribaudo deleted the ts-preset-opt branch July 20, 2023 13:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: typescript outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: New Feature 🚀 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants