File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 2020
2121- Clean up legacy tags handling. https://github.com/rescript-lang/rescript/pull/7309
2222
23+ #### :nail_care : Polish
24+
25+ - Deprecate JSON.Classify.classify. https://github.com/rescript-lang/rescript/pull/7315
26+
2327# 12.0.0-alpha.9
2428
2529#### :boom : Breaking Change
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ module Classify = {
5757 | Object (dict <t >)
5858 | Array (array <t >)
5959
60+ @deprecated ("Directly switch on the JSON object instead" )
6061 let classify = value => {
6162 switch _internalClass (value ) {
6263 | "[object Boolean]" => Bool (_asBool (value ))
Original file line number Diff line number Diff line change @@ -630,6 +630,7 @@ module Classify: {
630630 // Number(42)
631631 ```
632632 */
633+ @deprecated ("Directly switch on the JSON object instead" )
633634 let classify : 'a => t
634635}
635636
You can’t perform that action at this time.
0 commit comments