astx
Version:
super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring
8 lines (7 loc) • 480 B
TypeScript
import { NodePath, Node } from '../types';
import { CompiledMatcher, CompileOptions } from '.';
export default function compileGenericArrayMatcher(path: NodePath<Node, Node[]> | NodePath<Node, Node>[], compileOptions: CompileOptions, { compileElemMatcher, defaultUnordered, skipElement, }?: {
compileElemMatcher?: (path: NodePath, options: CompileOptions) => CompiledMatcher;
defaultUnordered?: boolean;
skipElement?: (path: NodePath) => boolean;
}): CompiledMatcher;