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

export type * causing issues #124

Open
Swimburger opened this issue Oct 27, 2023 · 1 comment
Open

export type * causing issues #124

Swimburger opened this issue Oct 27, 2023 · 1 comment
Assignees

Comments

@Swimburger
Copy link

I have some places where I'm re-exporting all types like this:

export type * from 'folderName'

The transformation leaves it untouched, and Deno doesn't like it.
When I manually transform it to the following it works:

export * from 'folderName/index.ts'

Now, in my case, it's not an issue to change this code to not use type, but AFAIK, TS will only export types when you do export type * from ... which can have a different result.

@Swimburger Swimburger changed the title export type * & import type * causing issues export type * causing issues Oct 27, 2023
@garronej
Copy link
Owner

Thanks for reporing. I need to fix this.

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

No branches or pull requests

2 participants