mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 23:38:32 +00:00
die tsc
This commit is contained in:
parent
e1096dd120
commit
d1757ecc18
1 changed files with 14 additions and 0 deletions
14
src/plugins/Timezones/Intl.d.ts
vendored
Normal file
14
src/plugins/Timezones/Intl.d.ts
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
/*
|
||||||
|
* Vencord, a Discord client mod
|
||||||
|
* Copyright (c) 2024 Vendicated and contributors
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
|
|
||||||
|
// As vencord uses 3 decade old typescript I need to have this header file
|
||||||
|
// see https://stackoverflow.com/questions/76400750/intl-supportedvaluesof-property-supportedvaluesof-does-not-exist-on-type-type
|
||||||
|
// https://github.com/microsoft/TypeScript/issues/49231
|
||||||
|
declare namespace Intl {
|
||||||
|
type Key = "calendar" | "collation" | "currency" | "numberingSystem" | "timeZone" | "unit";
|
||||||
|
|
||||||
|
function supportedValuesOf(input: Key): string[];
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue