denoify icon indicating copy to clipboard operation
denoify copied to clipboard

`export type * ` causing issues

Open Swimburger opened this issue 2 years ago • 1 comments

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 avatar Oct 27 '23 21:10 Swimburger

Thanks for reporing. I need to fix this.

garronej avatar Oct 31 '23 19:10 garronej