compiling a typescript file produces empty object #9755
Replies: 1 comment 4 replies
-
Everything you exported in the module is type or interface, which is expected to be removed after trnaspiling into javascript. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
good morning, nice community!
I cannot understand why a compilation of a typescript file gives me a javascript file with an empty object.
Desperately need any ideas/hints/etc. Much appreciated any in advance!
The following
types.ts
...is translated to the
types.js
:the following command has been used to run the compilation:
This is the
.swcrc
file used as a config:Beta Was this translation helpful? Give feedback.
All reactions