gristlabs_grist-core/app/common/declarations.d.ts
Jarosław Sadziński 048c8ee165 (core) Extending default locale list
Summary: Adding more locale codes to support more countries in document settings

Test Plan: existing tests

Reviewers: dsagal

Reviewed By: dsagal

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D3018
2021-09-24 15:10:13 +02:00

26 lines
576 B
TypeScript

declare module "app/common/MemBuffer" {
const MemBuffer: any;
type MemBuffer = any;
export = MemBuffer;
}
declare module "locale-currency/map" {
const Map: Record<string, string>;
type Map = Record<string, string>;
export = Map;
}
declare namespace Intl {
class DisplayNames {
public static supportedLocalesOf(locales: string | string[]): string[];
constructor(locales?: string, options?: object);
public of(code: string): string;
}
class Locale {
public region: string;
public language: string;
constructor(locale: string);
}
}