Files
smart-management-auto-test/node_modules/jsondiffpatch/lib/contexts/context.d.ts

18 lines
477 B
TypeScript

import type { Options } from '../types.js';
export default abstract class Context<TResult> {
abstract pipe: string;
result?: TResult;
hasResult?: boolean;
exiting?: boolean;
parent?: this;
childName?: string | number;
root?: this;
options?: Options;
children?: this[];
nextAfterChildren?: this | null;
next?: this | null;
setResult(result: TResult): this;
exit(): this;
push(child: this, name?: string | number): this;
}