@@ -17,7 +17,7 @@ Makes a new unique Symbol value.
1717## Examples
1818
1919```rescript
20- Symbol.make("sym1")->assetEqual ("sym1")
20+ Symbol.make("sym1")->assertEqual ("sym1")
2121```
2222*/
2323@val
@@ -32,11 +32,12 @@ Otherwise a new Symbol gets created and registered with key.
3232## Examples
3333
3434```rescript
35- Symbol.getFor("sym1")->assetEqual (Symbol.getFor("sym1"))
35+ Symbol.getFor("sym1")->assertEqual (Symbol.getFor("sym1"))
3636```
3737*/
3838@val
39- external getFor : string => t = "Symbol.for"
39+ @scope ("Symbol" )
40+ external getFor : string => option <t > = "for"
4041
4142/**
4243`keyFor(key)`
@@ -56,7 +57,8 @@ Symbol.keyFor(localSym)->assertEqual(None)
5657```
5758*/
5859@val
59- external keyFor : t => option <string > = "Symbol.keyFor"
60+ @scope ("Symbol" )
61+ external keyFor : t => option <string > = "keyFor"
6062
6163/**
6264`description`
@@ -88,18 +90,18 @@ Symbol.toString(sym)->assertEqual("Symbol(sym1)")
8890@send
8991external toString : t => string = "toString"
9092
91- @val
92- external asyncIterator : t = "Symbol. asyncIterator"
93- @val
94- external hasInstance : t = "Symbol. hasInstance"
95- @val external isConcatSpreadable : t = "Symbol. isConcatSpreadable"
96- @val external iterator : t = "Symbol. iterator"
97- @val external match : t = "Symbol. match"
98- @val external matchAll : t = "Symbol. matchAll"
99- @val external replace : t = "Symbol. replace"
100- @val external search : t = "Symbol. search"
101- @val external species : t = "Symbol. species"
102- @val external split : t = "Symbol. split"
103- @val external toPrimitive : t = "Symbol. toPrimitive"
104- @val external toStringTag : t = "Symbol. toStringTag"
105- @val external unscopables : t = "Symbol. unscopables"
93+ @val @ scope ( "Symbol" )
94+ external asyncIterator : t = "asyncIterator"
95+ @val @ scope ( "Symbol" )
96+ external hasInstance : t = "hasInstance"
97+ @val @ scope ( "Symbol" ) external isConcatSpreadable : t = "isConcatSpreadable"
98+ @val @ scope ( "Symbol" ) external iterator : t = "iterator"
99+ @val @ scope ( "Symbol" ) external match : t = "match"
100+ @val @ scope ( "Symbol" ) external matchAll : t = "matchAll"
101+ @val @ scope ( "Symbol" ) external replace : t = "replace"
102+ @val @ scope ( "Symbol" ) external search : t = "search"
103+ @val @ scope ( "Symbol" ) external species : t = "species"
104+ @val @ scope ( "Symbol" ) external split : t = "split"
105+ @val @ scope ( "Symbol" ) external toPrimitive : t = "toPrimitive"
106+ @val @ scope ( "Symbol" ) external toStringTag : t = "toStringTag"
107+ @val @ scope ( "Symbol" ) external unscopables : t = "unscopables"
0 commit comments