The translation should do the equivalent of this: ```reason type ref('a) = {mutable contents: 'a}; [@genType] let foo = r => r.contents + 1; ``` gives ```js export type myref<a> = {| contents: a |}; export const foo: (myref<number>) => number = function (Arg1: $any) { const result = ABS.foo([Arg1.contents]); return result }; ```
The translation should do the equivalent of this:
gives