fable-compiler/ts2fable

Optional tuple in TS gets converted into optional second value

Booksbaum opened this issue · 0 comments

interface A {
    value?: [number, number];
}

==>

type [<AllowNullLiteral>] A =
    abstract value: float * float option with get, set

value is float * Option<float>, but should be Option<float * float>