Skip to content

Commit

Permalink
refactor: remove uncovered code and fixup coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
akulsr0 committed Aug 14, 2023
1 parent dd7cfda commit 2b8d443
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/util/variable.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ function findVariableByName(context, name) {
return variable.defs[0].node.right;
}

if (variable.defs[0].node.type === 'TSTypeAliasDeclaration') {
return variable.defs[0].node.typeAnnotation;
}

if (variable.defs[0].type === 'ImportBinding') {
return variable.defs[0].node;
}
Expand Down

0 comments on commit 2b8d443

Please sign in to comment.