Skip to content

Commit 2b8d443

Browse files
committed
refactor: remove uncovered code and fixup coverage
1 parent dd7cfda commit 2b8d443

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/util/variable.js

-4
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ function findVariableByName(context, name) {
6969
return variable.defs[0].node.right;
7070
}
7171

72-
if (variable.defs[0].node.type === 'TSTypeAliasDeclaration') {
73-
return variable.defs[0].node.typeAnnotation;
74-
}
75-
7672
if (variable.defs[0].type === 'ImportBinding') {
7773
return variable.defs[0].node;
7874
}

0 commit comments

Comments
 (0)