extenso
Version:
Uma biblioteca avançada para escrever números por extenso (em português).
10 lines (9 loc) • 402 B
TypeScript
/**
* Normalizes the input by converting it to a string and removing currency symbols/codes
* @param input - The input to normalize
* @returns The normalized string
* @throws {TypeError} If input is not a string, number, or bigint
* @throws {Error} If the normalized string exceeds maximum length
*/
declare const normalize: (input: string | number | bigint) => string;
export default normalize;