6 lines
218 B
TypeScript
6 lines
218 B
TypeScript
import type { NodePath } from '@babel/traverse';
|
|
/**
|
|
* Checks if the path is a ImportSpecifier that imports the given named export
|
|
*/
|
|
export default function isImportSpecifier(path: NodePath, name: string): boolean;
|