Add the Intl DateTimeFormat polyfill for space scripts without overwriting other Intl classes (#836)

pull/841/head
Daniel Michel 2024-04-02 19:26:06 +02:00 committed by GitHub
parent dc79ba0224
commit 5798a39289
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;