You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we use parameter lists in places which are not valid in TS.
Example:
:ts
let t = { a =5; b ="world"} in if t.a ==1then1else (fun f -> f.b )
//│ res: {b: 'a} -> 'a | 1//│ // start ts//│ export declare const res<a>: (arg1: {b: a}) => a | 1//│ // end ts
We should just fail TS generation here, or widen the type until it's representable.
The text was updated successfully, but these errors were encountered:
Currently we use parameter lists in places which are not valid in TS.
Example:
We should just fail TS generation here, or widen the type until it's representable.
The text was updated successfully, but these errors were encountered: