We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3323022 commit cbb3728Copy full SHA for cbb3728
packages/react-docgen/src/utils/getParameterName.ts
@@ -22,7 +22,6 @@ export default function getParameterName(
22
)}`;
23
} else if (parameterPath.isTSParameterProperty()) {
24
return getParameterName(parameterPath.get('parameter'));
25
- // @ts-expect-error isVoidPattern is not yet in types
26
} else if (parameterPath.isVoidPattern()) {
27
return 'void';
28
}
0 commit comments