Closed
Description
- Deprecations were added to a lot of DOM types in Create deprecatedjson from mdn web #884
- 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",
});
Or to use as const
Metadata
Metadata
Assignees
Labels
No labels