UNPKG

astx

Version:

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

5 lines (4 loc) 369 B
import { Backend } from './Backend'; import { NodePath, Node } from '../types'; export declare function parsePattern(this: Backend, strings: TemplateStringsArray | string | string[], ...quasis: any[]): NodePath | NodePath[]; export declare function parsePatternToNodes(this: Backend, strings: TemplateStringsArray | string | string[], ...quasis: any[]): Node | Node[];