extenso
Version:
Uma biblioteca avançada para escrever números por extenso (em português).
9 lines (8 loc) • 322 B
TypeScript
/**
* Pluralizes a word based on count
* @param text - The word to pluralize
* @param count - The count to determine if pluralization is needed
* @returns The pluralized word if count is not 1, otherwise the original word
*/
declare const pluralize: (text: string, count: number) => string;
export default pluralize;