gremlint
Version:
Linter/code formatter for Gremlin
10 lines (9 loc) • 589 B
TypeScript
import { FormattedSyntaxTree, GremlinStepGroup, GremlinSyntaxTreeFormatter, GremlintInternalConfig, UnformattedSyntaxTree } from '../../../types';
declare const reduceSingleStepInStepGroup: (formatSyntaxTree: GremlinSyntaxTreeFormatter, config: GremlintInternalConfig) => ({ stepsInStepGroup, stepGroups, }: {
stepsInStepGroup: FormattedSyntaxTree[];
stepGroups: GremlinStepGroup[];
}, step: UnformattedSyntaxTree, index: number, steps: UnformattedSyntaxTree[]) => {
stepsInStepGroup: never[];
stepGroups: GremlinStepGroup[];
};
export default reduceSingleStepInStepGroup;