File tree 3 files changed +6
-0
lines changed
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 21
21
22
22
- Clean up legacy tags handling. https://github.com/rescript-lang/rescript/pull/7309
23
23
24
+ #### :nail_care : Polish
25
+
26
+ - Deprecate JSON.Classify.classify. https://github.com/rescript-lang/rescript/pull/7315
27
+
24
28
# 12.0.0-alpha.9
25
29
26
30
#### :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" )
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,7 @@ module Classify: {
630
630
// Number(42)
631
631
```
632
632
*/
633
+ @deprecated("Directly switch on the JSON object instead")
633
634
let classify: 'a => t
634
635
}
635
636
You can’t perform that action at this time.
0 commit comments