2
0
mirror of https://github.com/tenrok/numeralize-ru.git synced 2026-05-15 11:59:43 +03:00
Files
numeralize-ru/index.d.ts
T
2016-11-18 02:11:33 +03:00

21 lines
704 B
TypeScript

export = numeralize;
declare function numeralize(number: number, gender?: numeralize.Gender, kase?: numeralize.Case, animate?: boolean): string;
declare namespace numeralize {
export type Gender = number;
export const GENDER_MASCULINE: Gender;
export const GENDER_FEMININE: Gender;
export const GENDER_NEUTER: Gender;
export type Case = number;
export const CASE_NOMINATIVE: Case;
export const CASE_GENITIVE: Case;
export const CASE_DATIVE: Case;
export const CASE_ACCUSATIVE: Case;
export const CASE_INSTRUMENTAL: Case;
export const CASE_PREPOSITIONAL: Case;
export function pluralize(count: number, one: string, two: string, five: string): string;
}