Rewrite in ReScript
- Rewrite in ReScript
- Upgraded to clean-deep v3.4 (new attribute,
naNValue
to cleanNaN
values, defaultfalse
) - Change function signature to t-first:
/* OLD */ CleanDeep.cleanDeep(jsObject); jsObject |> CleanDeep.cleanDeep(~naNValue=true); /* NEW */ CleanDeep.cleanDeep(jsObject, ()); jsObject->CleanDeep.cleanDeep(~naNValue=true, ());