mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
048c8ee165
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
26 lines
576 B
TypeScript
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);
|
|
}
|
|
}
|