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 Streams API was updated in Update Streams to official WebIDL #890 - this removed some APIs which weren't supported by browsers and updated the name of some types to match the updated specification.
Localization APIs now have exact types:
const dateOptions = {
weekday: "long",
year: "numeric",
month: "long",
day: "numeric",
};
const date = new Date().toLocaleString("en-US", dateOptions);
would now need to be
const date = new Date().toLocaleString("en-US", {
weekday: "long",
year: "numeric",
month: "long",
day: "numeric",
});
Activity
HolgerJeromin commentedon Dec 13, 2020
Can/should we update the typing of querySelector, querySelectorAll and closest, too?
Ref #885 (comment)
orta commentedon Dec 21, 2020
It was, I used this issue to keep track of breaking changes