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