UNPKG

plural-ru

Version:

Pluralization of russian words in simpliest way

15 lines (11 loc) 308 B
declare module 'plural-ru' { type ThreeForms = [string, string, string]; type TwoForms = [string, string]; const noun: (num: number, ...forms: TwoForms | ThreeForms) => string; const verb: (num: number, ...forms: ThreeForms) => string; export { noun, verb, }; export default noun; }