You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a mix of approaches to defining defaultOptions, mostly we're using unsafeCoerce {} and letting the implementation fill it in, but I think we always do know the actual defaults by referencing the specification. Collator at least explicitly defines the default options
There's a mix of approaches to defining
defaultOptions
, mostly we're usingunsafeCoerce {}
and letting the implementation fill it in, but I think we always do know the actual defaults by referencing the specification.Collator
at least explicitly defines the default optionspurescript-js-intl/src/JS/Intl/Collator.purs
Lines 53 to 62 in a9a08ba
If we did the same for all the service constructors, we should be able to do away with the
unsafeCoerce
shenanigans.The text was updated successfully, but these errors were encountered: