mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(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
This commit is contained in:
2
app/common/declarations.d.ts
vendored
2
app/common/declarations.d.ts
vendored
@@ -12,12 +12,14 @@ declare module "locale-currency/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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user