UNPKG

@ant-design/tools

Version:
11 lines (10 loc) 408 B
import type { NodePath } from '@babel/traverse'; import type { ImportDeclaration, ExportNamedDeclaration } from '@babel/types'; declare function replacePath(path: NodePath<ImportDeclaration | ExportNamedDeclaration>): void; declare function replaceLib(): { visitor: { ImportDeclaration: typeof replacePath; ExportNamedDeclaration: typeof replacePath; }; }; export default replaceLib;