UNPKG
li18nt
Version:
latest (5.0.0)
5.0.0
4.0.1
4.0.0
3.0.0
2.1.0
2.0.0
1.1.1
1.1.0
1.0.1
1.0.0
Locales linter, formatter, sorter and prettifier
github.com/Simonwep/li18nt
Simonwep/li18nt
li18nt
/
lib
/
src
/
shared
/
generateList.d.ts
7 lines
(6 loc)
•
216 B
TypeScript
View Raw
1
2
3
4
5
6
7
/** * Iterates over the list providing a list-number as first and the array-item * as second value. *
@param
arr Source array. */
export
declare
function
generateList<T>(
arr
: T[]):
IterableIterator
<[
string
, T]>;