@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
17 lines (16 loc) • 398 B
TypeScript
/**
* Returns the plural of an English word.
*
* @param {string} word
* @param {number} [amount]
* @returns {string}
*/
export declare function plural(word: string, amount?: number): string;
/**
* Returns the singular of an English word.
*
* @param {string} word
* @param {number} [amount]
* @returns {string}
*/
export declare function singular(word: string, amount?: number): string;