json2ts_example
Script
v5
Fork
1
2
3
4
import
{
json2ts
}
from
"npm:@cyly/json2ts@0.2.6"
;
console
.
log
(
json2ts
(
`{"foo": "", "bar": ""}`
)
)
;
console
.
log
(
json2ts
(
`{"foo": [{"bar": ""}]}`
)
)
;