Skip to content

Add support for TS type-only re-exports - #533

Merged
alangpierce merged 1 commit into
alangpierce:masterfrom
Rugvip:ts-reexport
May 17, 2020
Merged

Add support for TS type-only re-exports#533
alangpierce merged 1 commit into
alangpierce:masterfrom
Rugvip:ts-reexport

Conversation

@Rugvip

@Rugvip Rugvip commented May 16, 2020

Copy link
Copy Markdown
Contributor

Hi! I ran into some trouble using type re-exports in TypeScript.

export type { T } from './T';

would be transpiled to

       from './T';

The syntax form is mentioned in the PR adding the functionality to TS: microsoft/TypeScript#35200

Wondering if this looks like an alright fix?

@alangpierce alangpierce left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Thank you!

@alangpierce
alangpierce merged commit 2733d22 into alangpierce:master May 17, 2020
@Rugvip
Rugvip deleted the ts-reexport branch May 17, 2020 22:50
@alangpierce

Copy link
Copy Markdown
Owner

@Rugvip I just released this as 3.14.1!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants