Closed tp closed 8 years ago
I think the "Expected" should actually list the type definition not its name if it were working, right?
Not for imported types. The only way to see whether it is working or not is to check the transformed code.
With passPerPreset: true
I'm successfully using imported types. Closing this but will reopen if it's still an issue.
After hours of debugging I found #100, but I was unable to apply it in way that allows me to import type definitions.
I am currently using a self-built version of 0e51e2ff1b53eaa2f077aa53dc5462bbd3023580.
.babelrc:
I import the type definition like this:
But when running the code then I get an error:
I think the "Expected" should actually list the type definition not its name if it were working, right?