astx
Version:
super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring
5 lines (4 loc) • 322 B
TypeScript
import { NodePath } from '../types';
import { CompiledReplacement, CompileReplacementOptions } from '.';
import * as t from 'ast-types';
export default function compilePropertyReplacement(path: NodePath<t.namedTypes.Property, t.namedTypes.Property>, compileOptions: CompileReplacementOptions): CompiledReplacement | void;