UNPKG

astx

Version:

super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring

6 lines (5 loc) 296 B
import { Node, NodePath } from '../types'; import { CompiledMatcher, CompileOptions } from './index'; export default function compileGenericNodeMatcher(path: NodePath<Node, Node>, compileOptions: CompileOptions, options?: { keyMatchers?: Record<string, CompiledMatcher>; }): CompiledMatcher;