Closed
Description
the rescript and js code start at line 71 of record.mdx, and its content is:
// Example.res
let me: School.person = {age: 20, name: "Big ReScript"}
/* or */
let me2 = {School.age: 20, name: "Big ReScript"}
var me = {
age: 20,
name: "Big ReScript"
};
var me2 = {
age: 20,
name: "Big ReScript"
};
After these, the document said that "either of the 3
says ....", but there are just two: me
and me2
.
So I think there might be me3, and it is like:
let me3 = {age: 20, School.name: "Big ReScript"}
Metadata
Metadata
Assignees
Labels
No labels