You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jtd-codegen with the --typescript-out flag generates the following output:
// Code generated by jtd-codegen for TypeScript v0.2.0exportenumSimpleB{="",X="x",Y="y",}exportinterfaceSimple{a: string;b: SimpleB;}
However, the line = "" with nothing before the equals sign is rejected by the typescript compiler as a syntax error.
jtd-codegen should either reject the input if I'm misunderstanding something and this is not valid JTD, or it should emit typescript which does not cause the typescript compiler to complain.