UNPKG

typescript-transform-paths

Version:

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

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