UNPKG
j2i
Version:
latest (1.0.0)
1.0.0
parse json to interface files of typescript
github.com/shinku/jsontointerface
shinku/jsontointerface
j2i
/
core
/
jsonReader
/
nameIndex.js
8 lines
(7 loc)
•
168 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
class
nameindex
{ static get
index
(){
if
(!nameindex._index) nameindex._index=
0
;
return
nameindex._index++; } } module.exports = nameindex;