@phensley/cldr-types
Version:
Types shared among packages in the @phensley/cldr library
27 lines (26 loc) • 1.39 kB
TypeScript
/**
* @public
*/
export type CurrencySpacingPos = 'before' | 'after';
/**
* @public
*/
export type CurrencySpacingPattern = 'currencyMatch' | 'surroundingMatch' | 'insertBetween';
/**
* @public
*/
export type NumberSymbolType = 'approximatelySign' | 'currencyDecimal' | 'currencyGroup' | 'decimal' | 'exponential' | 'group' | 'infinity' | 'list' | 'minusSign' | 'nan' | 'perMille' | 'percentSign' | 'plusSign' | 'superscriptingExponent' | 'timeSeparator';
/**
* These are all of the possible numbering systems we've implemented. Just decimal for now.
*
* @public
*/
export type NumberSystemName = 'adlm' | 'ahom' | 'arab' | 'arabext' | 'bali' | 'beng' | 'bhks' | 'brah' | 'cakm' | 'cham' | 'deva' | 'fullwide' | 'gonm' | 'gujr' | 'guru' | 'hanidec' | 'hmng' | 'java' | 'kali' | 'khmr' | 'knda' | 'lana' | 'lanatham' | 'laoo' | 'latn' | 'lepc' | 'limb' | 'mathbold' | 'mathdbl' | 'mathmono' | 'mathsanb' | 'mathsans' | 'mlym' | 'modi' | 'mong' | 'mroo' | 'mtei' | 'mymr' | 'mymrshan' | 'mymrtlng' | 'newa' | 'nkoo' | 'olck' | 'orya' | 'osma' | 'saur' | 'shrd' | 'sind' | 'sinh' | 'sora' | 'sund' | 'takr' | 'talu' | 'tamldec' | 'telu' | 'thai' | 'tibt' | 'tirh' | 'vaii' | 'wara';
/**
* @public
*/
export type NumberSystemCategory = 'default' | 'native' | 'finance' | 'traditional';
/**
* @public
*/
export type NumberMiscPatternType = 'at-least' | 'at-most' | 'approx' | 'range';