Generation Of Sub-Types #177
-
Here there! Lets say I have a struct like this
and I annotate it correctly so that the typescript bindings are generated as we would expect. "CoolEnum" also has the correct annotations, but is being imported from another crate. In this situation, I've found that the "SomeStruct.ts" file contains a line to import the "CoolEnum" type, but the "CoolEnum.ts" itself isn't generated. For that I need to go over to the crate that has "CoolEnum" and transport the typescript file myself. I can understand why, but is there perhaps an option I'm missing somewhere where I can ask that the system generate typescript files for all the types used within a type? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I'm having this exact issue. If the types are declared in another module, even with |
Beta Was this translation helpful? Give feedback.
-
Solved as of #218 |
Beta Was this translation helpful? Give feedback.
Solved as of #218