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
type alias Options={ enableHighAccuracy :Bool, timeout :MaybeInt, maximumAge :MaybeInt}
The documentation specifies these values are in milliseconds. I'm curious why this isn't implemented using a Time instead. Wouldn't it reduce mistakes to use an interface that encodes the unit as well as the value?
The record for
Geolocation.Options
has the following structure:The documentation specifies these values are in milliseconds. I'm curious why this isn't implemented using a
Time
instead. Wouldn't it reduce mistakes to use an interface that encodes the unit as well as the value?(moved from #9)
The text was updated successfully, but these errors were encountered: