@ant-design/tools
Version:
tools for ant design
11 lines (10 loc) • 408 B
TypeScript
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;