mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
a6e08883e0
Summary: - Grist document has a associated "locale" setting that affects how currency is formatted. - Currency selector for number format. Test Plan: not done Reviewers: dsagal Reviewed By: dsagal Subscribers: paulfitz Differential Revision: https://phab.getgrist.com/D2977
24 lines
471 B
TypeScript
24 lines
471 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 {
|
|
constructor(locales?: string, options?: object);
|
|
public of(code: string): string;
|
|
}
|
|
|
|
class Locale {
|
|
public region: string;
|
|
constructor(locale: string);
|
|
}
|
|
}
|