core
core copied to clipboard
TypeScript output: add type parameters on ctor and method calls
TS infers the parameters from the arguments, but it doesn't always infer the right type. For example new FSharpSet(0, null) (which is what Set.empty compiles to) is always inferred to return FSharpSet<{}>.