Question: jco types
generating namespaces instead of modules?
#439
Labels
enhancement
New feature or request
jco types
generating namespaces instead of modules?
#439
I am using
jco types
to create the typings to build an SDK based on the generated code, the generated types contain namespaces instead of modules which means IDE does not provide intellisense and alsotsc
fails to compile without//@ts-ignore
the wit imports .I have the following
wit
Using the following command to generate the types
jco types -o types <path to wit>
provides the following directory structureAnd the contents of the files are
And the following is the guest code
I could get around this by manually editing the generated types to be the following
Please let me know if I am missing something here. Thanks!
The text was updated successfully, but these errors were encountered: