Skip to content

Commit da36b0b

Browse files
committed
remove unnecessary check
Signed-off-by: Max Heiber <[email protected]>
1 parent e28bfb4 commit da36b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2653,7 +2653,7 @@ namespace ts {
26532653
}
26542654

26552655
export function isPushOrUnshiftIdentifier(node: Identifier) {
2656-
return isIdentifier(node) && node.escapedText === "push" || node.escapedText === "unshift";
2656+
return node.escapedText === "push" || node.escapedText === "unshift";
26572657
}
26582658

26592659
export function isParameterDeclaration(node: VariableLikeDeclaration) {

0 commit comments

Comments
 (0)