tterrag
tterrag
CC#
Created by tterrag on 5/10/2023 in #help
❔ Help with TypeGen and default values
anyone here used typegen before? I'm finding that it populates fields with long JSON type definitions rather than the obvious -- simply new Type() for instance in C# the ctor sets this.Foo = new Foo(); but in ts it's foo: Foo = {...... lots of stuff .....}
4 replies