datezone
Version:
A lightweight and comprehensive date and timeZone utility library for JavaScript.
10 lines • 328 B
TypeScript
/**
* Format ordinal.
*
* @param number - The number to format.
* @param locale - The locale to use.
* @returns The ordinal suffix.
* @see https://datezone.dev/docs/reference/ordinal#formatordinal
*/
export declare function formatOrdinal(number: number, locale?: string): string;
//# sourceMappingURL=ordinal.pub.d.ts.map