Skip to content

Commit 064d6bb

Browse files
authored
Update object.mdx
No longer need the `(.` to uncurry in the tips and tricks section example.
1 parent b26a82d commit 064d6bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/docs/manual/latest/object.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Since objects don't require type declarations, and since ReScript infers all the
172172
@val external document: 'a = "document"
173173
174174
// call a method
175-
document["addEventListener"](. "mouseup", _event => {
175+
document["addEventListener"]("mouseup", _event => {
176176
Console.log("clicked!")
177177
})
178178

0 commit comments

Comments
 (0)