UNPKG

typescript-transform-paths

Version:

Transforms module resolution paths using TypeScript path mapping and/or custom paths

5 lines (4 loc) 220 B
import ts from "typescript"; import { VisitorContext } from "./types"; /** Visit and replace nodes with module specifiers */ export declare function nodeVisitor(this: VisitorContext, node: ts.Node): ts.Node | undefined;