mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 07:03:35 +08:00
c3a684c7ed
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
13 lines
341 B
TypeScript
13 lines
341 B
TypeScript
/**
|
|
* The `punctuateSeries` helper formats a list of strings (e.g. names) to read
|
|
* fluently in the application's locale.
|
|
*
|
|
* ```js
|
|
* punctuateSeries(['Toby', 'Franz', 'Dominion']) // Toby, Franz, and Dominion
|
|
* ```
|
|
*
|
|
* @param {Array} items
|
|
* @return {VirtualElement}
|
|
*/
|
|
export default function punctuateSeries(items: any[]): any;
|