@types/json-stringify-safe
Version:
TypeScript definitions for json-stringify-safe
15 lines (11 loc) • 401 B
TypeScript
export = stringify;
declare function stringify(
obj: any,
serializer?: stringify.EntryProcessor | null,
indent?: string | number | null,
decycler?: stringify.EntryProcessor,
): string;
declare namespace stringify {
function getSerialize(serializer: EntryProcessor | null, decycler?: EntryProcessor): EntryProcessor;
type EntryProcessor = (key: string, value: any) => any;
}