UNPKG

jsonrepair

Version:
20 lines 510 B
export declare enum Caret { beforeValue = "beforeValue", afterValue = "afterValue", beforeKey = "beforeKey" } export declare enum StackType { root = "root", object = "object", array = "array", ndJson = "ndJson", functionCall = "dataType" } export declare function createStack(): { readonly type: StackType; readonly caret: Caret; pop(): true; push(type: StackType, newCaret: Caret): true; update(newCaret: Caret): true; }; //# sourceMappingURL=stack.d.ts.map