UNPKG
json-decycle
Version:
latest (4.0.0)
4.0.0
3.0.0
2.0.1
2.0.0
1.0.0
Stringify and parse cycled reference json
github.com/YChebotaev/json-decycle
YChebotaev/json-decycle
json-decycle
/
dist
/
index.d.ts
6 lines
(4 loc)
•
256 B
TypeScript
View Raw
1
2
3
4
5
6
declare
const
decycle
:
() =>
(
this
:
any
,
key
:
string
|
symbol
,
value
:
any
) =>
any
;
declare
function
retrocycle
(
):
(
this
:
object
,
key
:
string
|
symbol
,
value
:
any
) =>
any
;
declare
const
extend
:
(
JSON
:
JSON
) =>
JSON
;
export
{ decycle, extend, retrocycle };