UNPKG
jsontointerface
Version:
latest (3.0.2)
3.0.2
3.0.1
3.0.0
2.0.1
2.0.0
1.0.3
1.0.0
parse json to interface files of typescript
github.com/shinku/jsontointerface
shinku/jsontointerface
jsontointerface
/
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;