Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
17 lines
594 B
Plaintext
17 lines
594 B
Plaintext
import { LocaleData } from './core';
|
|
import { NumberFormatDigitInternalSlots } from './number';
|
|
export type LDMLPluralRule = 'zero' | 'one' | 'two' | 'few' | 'many' | 'other';
|
|
export interface PluralRulesData {
|
|
categories: {
|
|
cardinal: string[];
|
|
ordinal: string[];
|
|
};
|
|
fn: (val: number | string, ord?: boolean) => LDMLPluralRule;
|
|
}
|
|
export type PluralRulesLocaleData = LocaleData<PluralRulesData>;
|
|
export interface PluralRulesInternal extends NumberFormatDigitInternalSlots {
|
|
initializedPluralRules: boolean;
|
|
locale: string;
|
|
type: 'cardinal' | 'ordinal';
|
|
}
|