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 6ec2ddc commit b22fb2aCopy full SHA for b22fb2a
index.js
@@ -47,10 +47,6 @@ function checkForProptypes(path, paramTypeName) {
47
}
48
49
function setParamsTypeDefinitionFromFunctionType(documentation, path) {
50
- if (path.parentPath.node.init && path.parentPath.node.init.params.length === 0) {
51
- return;
52
- }
53
-
54
if (
55
path.node.type === 'ArrowFunctionExpression' &&
56
(
0 commit comments