TypeScriptBuilder icon indicating copy to clipboard operation
TypeScriptBuilder copied to clipboard

Namespace missing on Enums

Open SavoInfostream opened this issue 4 years ago • 0 comments

Bug report

Current behavior

An Enum property of an interface (from namespaceA), generated from a C# class, doesn't have namespace prefix before the type (from namespaceB). Typescript shows the error: TS2304: Cannot find name 'MyEnum'. Referenced Enum is from different namespace in C# then the interface, of course, and is generated in that namespace by the Builder (But is not referenced as it should).

Expected behavior

Namespace prefix should be attached to the Enum type.

SavoInfostream avatar Feb 15 '21 11:02 SavoInfostream