UNPKG

astx

Version:

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

10 lines (9 loc) 289 B
import { Backend } from '../backend/Backend'; import Astx from '../Astx'; export default function loadFile(file: string, { source, parser, parserOptions, }?: { source?: string; parser?: string | Backend; parserOptions?: { [k in string]?: any; }; }): Promise<Astx>;