UNPKG

astx

Version:

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

7 lines (6 loc) 561 B
import { CompileReplacementOptions, CompiledReplacement } from '.'; import { NodePath } from '../types'; import { unescapeIdentifier } from '../compileMatcher/Placeholder'; export { unescapeIdentifier }; export declare function compileArrayPlaceholderReplacement(pattern: NodePath, identifier: string, compileReplacementOptions: CompileReplacementOptions): CompiledReplacement | void; export default function compilePlaceholderReplacement(pattern: NodePath, identifier: string, compileReplacementOptions: CompileReplacementOptions): CompiledReplacement | void;