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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user