1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 00:17:31 +02:00

Bundled output for commit 2a86c25297

Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
This commit is contained in:
flarum-bot
2021-10-13 18:51:06 +00:00
parent 2a86c25297
commit 3f2e25b35f
5 changed files with 11 additions and 11 deletions

View File

@@ -1,9 +1,9 @@
/**
* The `formatNumber` utility localizes a number into a string with the
* appropriate punctuation.
* appropriate punctuation based on the provided locale otherwise will default to the users locale.
*
* @example
* formatNumber(1234);
* // 1,234
*/
export default function formatNumber(number: number): string;
export default function formatNumber(number: number, locale?: string): string;