core icon indicating copy to clipboard operation
core copied to clipboard

TypeScript output: add type parameters on ctor and method calls

Open Tarmil opened this issue 8 years ago • 0 comments

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<{}>.

Tarmil avatar Oct 20 '17 09:10 Tarmil