UNPKG

astx

Version:

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

4 lines (3 loc) 245 B
import * as AstTypes from 'ast-types'; import { NodeType, NodePath } from '../types'; export default function forEachNode(t: typeof AstTypes, paths: readonly NodePath[], nodeTypes: readonly NodeType[], iteratee: (path: NodePath) => void): void;