7 lines
278 B
TypeScript
7 lines
278 B
TypeScript
import type { NodePath } from '@babel/traverse';
|
|
/**
|
|
* Checks if the input Identifier is part of a destructuring Assignment
|
|
* and the name of the property key matches the input name
|
|
*/
|
|
export default function isDestructuringAssignment(path: NodePath, name: string): boolean;
|