Skip to content

Commit 8f555d1

Browse files
committed
format
1 parent 4b75d31 commit 8f555d1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

jscomp/test/FirstClassDicts.res

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,15 @@ module CreateAndLookup = {
33

44
let test_create: myDict = {name: "hello", something: 5}
55

6-
let test_lookup = (d: myDict) : option<int> => d.something
6+
let test_lookup = (d: myDict): option<int> => d.something
77
}
88

9-
109
module Update = {
1110
type myDict = {name?: string, mutable anyOtherField?: int}
1211

1312
let test_update = (d: myDict) => d.something = Some(10)
1413
}
1514

16-
1715
module PatternMatching = {
1816
type myDict = {name?: string, anyOtherField?: int}
1917

0 commit comments

Comments
 (0)