File tree 3 files changed +8
-0
lines changed
3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 20
20
21
21
- Clean up legacy tags handling. https://github.com/rescript-lang/rescript/pull/7309
22
22
23
+ #### :nail_care : Polish
24
+
25
+ - Deprecate JSON.Classify.classify. https://github.com/rescript-lang/rescript/pull/7315
26
+
23
27
# 12.0.0-alpha.9
24
28
25
29
#### :boom : Breaking Change
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ module Classify = {
57
57
| Object (dict <t >)
58
58
| Array (array <t >)
59
59
60
+ @deprecated ("Directly switch on the JSON object instead" ) @raises @val
60
61
let classify = value => {
61
62
switch _internalClass (value ) {
62
63
| "[object Boolean]" => Bool (_asBool (value ))
Original file line number Diff line number Diff line change @@ -630,6 +630,9 @@ module Classify: {
630
630
// Number(42)
631
631
```
632
632
*/
633
+ @deprecated("Directly switch on the JSON object instead")
634
+ @raises
635
+ @val
633
636
let classify: 'a => t
634
637
}
635
638
You can’t perform that action at this time.
0 commit comments