Skip to content

Commit b6b5203

Browse files
authored
Update external.mdx
No longer need the (. to uncurry in the tips and tricks section example.
1 parent 2638333 commit b6b5203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/docs/manual/latest/external.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Once declared, you can use an `external` as a normal value, just like a let bind
5050
@val external document: 'a = "document"
5151
5252
// call a method
53-
document["addEventListener"](."mouseup", _event => {
53+
document["addEventListener"]("mouseup", _event => {
5454
Console.log("clicked!")
5555
})
5656

0 commit comments

Comments
 (0)