Closed jmeaster30 closed 11 months ago
let a: (i32, string)
would have members '0' and '1' where '0' is an i32 and '1' is a string
Something that could be done in the future could be defining named members in a tuple type like:
let a: (first: i32, second: string)
where the member 'first' would have type i32 and 'second' would have the type string
closing obsolete ocean issues
I would like the ability to explicitly define a type as a tuple instead of relying on type inference