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
The above code throws a TypeError at runtime because Temporal objects should not be passed to with(). In this case, withPlainTime() should be used instead.
It would be better if the TypeScript binding disallowed this at compile-time, as well.
The text was updated successfully, but these errors were encountered:
Moved from tc39/proposal-temporal#1214
e.g.
The above code throws a TypeError at runtime because Temporal objects should not be passed to with(). In this case, withPlainTime() should be used instead.
It would be better if the TypeScript binding disallowed this at compile-time, as well.
The text was updated successfully, but these errors were encountered: