Skip to content

Commit

Permalink
remove unecessary type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Apr 7, 2021
1 parent 97457ed commit e03a570
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -30,7 +30,7 @@ export default declare(({ types: t, assertVersion }) => {
const bodyPath = path.get("body");

// add implicit returns to all ending expression statements
const completionRecords: Array<NodePath> = bodyPath.getCompletionRecords();
const completionRecords = bodyPath.getCompletionRecords();

for (const p of completionRecords) {
if (p.isExpressionStatement()) {
Expand Down

0 comments on commit e03a570

Please sign in to comment.