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 9f329a5 commit 0035996Copy full SHA for 0035996
src/utils/code.js
@@ -264,7 +264,7 @@ function processAst(ast, cb) {
264
} else if (path.isExportNamedDeclaration()) {
265
if (path.node.declaration) {
266
if (path.node.declaration.type === 'FunctionDeclaration') {
267
- return cb(path.node.declaration.id.name, null, 'exportFn');
+ return cb(path.node.declaration.id.name, null, 'exportFnDef');
268
} else if (path.node.declaration.type === 'VariableDeclaration') {
269
path.node.declaration.declarations.forEach(declaration => {
270
return cb(declaration.id.name, null, 'exportFn');
0 commit comments