Add the Intl DateTimeFormat polyfill for space scripts without overwriting other Intl classes (#836)
parent
dc79ba0224
commit
5798a39289
|
@ -9,7 +9,7 @@ Date.prototype.toTemporalInstant = toTemporalInstant;
|
|||
// @ts-ignore: Temporal polyfill
|
||||
globalThis.Temporal = Temporal;
|
||||
// @ts-ignore: Intl polyfill
|
||||
globalThis.Intl = Intl;
|
||||
Object.apply(globalThis.Intl, Intl);
|
||||
|
||||
type FunctionDef = {
|
||||
name: string;
|
||||
|
|
Loading…
Reference in New Issue