-
Notifications
You must be signed in to change notification settings - Fork 75
Only named exports may use 'export type'. #228
Comments
Related to microsoft/TypeScript#37238 |
I'm completely TypeScript noob so sorry for the question, does |
|
I think this broken the functionality. I'm not sure what the commit is trying to achieve considering TS doesn't support it? |
TypeScript supports all the other syntaxes. It only doesn't support |
@FezVrasta yeah, I messed up with that commit. I should've converted |
Please have a look at #229 and let me know if I missed any cases. |
I've published v0.3.0 with the import/export improvements. |
Works great, thanks! |
With 0.1.9 the following code would be converted as follows:
JS:
TS:
But with 0.2.2 I get the following:
which results in a TS error:
The text was updated successfully, but these errors were encountered: