UNPKG
@bryce94/json-to-ts
Version:
latest (1.0.7)
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
将json转为ts声明
github.com/BryceXu94/json-to-ts
@bryce94/json-to-ts
/
dist
/
index.d.ts
4 lines
(3 loc)
•
231 B
TypeScript
View Raw
1
2
3
4
import
type
{
JSON
Type,
OptionsType
}
from
'./types'
;
export
type
{
JSON
Type,
IAbstractConfig
,
OptionsType
,
EnumItem
}
from
'./types'
;
export
declare
const
parse
:
(
data
:
JSON
Type,
keyName
:
string
,
options
?:
OptionsType
) =>
string
;