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 4dc7caa commit 1593f80Copy full SHA for 1593f80
lib/node-utils/index.ts
@@ -329,7 +329,7 @@ export function getFunctionReturnStatementNode(
329
// regular function or arrow function with block
330
const returnStatementNode = functionNode.body.body.find((statement) =>
331
isReturnStatement(statement)
332
- ) as TSESTree.ReturnStatement | undefined;
+ );
333
334
if (!returnStatementNode) {
335
return null;
0 commit comments