Skip to content

Commit a01fd4f

Browse files
committed
Fix linting issue
1 parent c9b054e commit a01fd4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23842,7 +23842,7 @@ namespace ts {
2384223842
}
2384323843
}
2384423844
if (containsMissingType(type) && isAccessExpression(reference) && isPropertyAccessExpression(callExpression.expression)) {
23845-
const callAccess = <PropertyAccessExpression>callExpression.expression;
23845+
const callAccess = callExpression.expression;
2384623846
if (isMatchingReference(reference.expression, getReferenceCandidate(callAccess.expression)) &&
2384723847
isIdentifier(callAccess.name) && callAccess.name.escapedText === "hasOwnProperty" && callExpression.arguments.length === 1) {
2384823848
const argument = callExpression.arguments[0];

0 commit comments

Comments
 (0)