mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-12 12:10:44 +08:00
34 lines
792 B
TypeScript
34 lines
792 B
TypeScript
// Type definitions for Cldr.js 0.4.4
|
|
// Project: https://github.com/rxaviers/cldrjs
|
|
// Definitions by: Raman But-Husaim <https://github.com/RamanBut-Husaim>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
// The definition file for supplemental module.
|
|
|
|
declare namespace cldr {
|
|
interface TimeDataStatic {
|
|
allowed(): string;
|
|
preferred(): string;
|
|
}
|
|
|
|
interface WeekDataStatic {
|
|
firstDay(): string;
|
|
minDays(): number;
|
|
}
|
|
|
|
interface SupplementalStatic {
|
|
timeData: TimeDataStatic;
|
|
weekData: WeekDataStatic;
|
|
(path:string): any;
|
|
(paths:string[]): any;
|
|
}
|
|
|
|
interface CldrStatic {
|
|
supplemental: SupplementalStatic;
|
|
}
|
|
}
|
|
|
|
declare module "cldr/supplemental" {
|
|
export = cldr;
|
|
}
|