UNPKG

408 BTypeScriptView Raw
1import type { NodePath } from '@babel/traverse';
2import type { ArrayPattern, AssignmentPattern, Identifier, ObjectPattern, RestElement, TSParameterProperty } from '@babel/types';
3type ParameterNodePath = NodePath<ArrayPattern | AssignmentPattern | Identifier | ObjectPattern | RestElement | TSParameterProperty>;
4export default function getParameterName(parameterPath: ParameterNodePath): string;
5export {};