UNPKG

401 BTypeScriptView Raw
1export = stringify;
2
3declare function stringify(
4 obj: any,
5 serializer?: stringify.EntryProcessor | null,
6 indent?: string | number | null,
7 decycler?: stringify.EntryProcessor,
8): string;
9
10declare namespace stringify {
11 function getSerialize(serializer: EntryProcessor | null, decycler?: EntryProcessor): EntryProcessor;
12
13 type EntryProcessor = (key: string, value: any) => any;
14}