Skip to content

Commit 1f5bb97

Browse files
committed
Remove unused code
1 parent 77f2a41 commit 1f5bb97

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/compiler/checker.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8670,16 +8670,6 @@ namespace ts {
86708670
}
86718671
}
86728672

8673-
// function hasAssertionTypePredicate(signature: Signature): boolean {
8674-
// const predicate = getTypePredicateOfSignature(signature);
8675-
// return !!predicate && predicate.kind === TypePredicateKind.Assertion;
8676-
// }
8677-
8678-
// function hasBooleanTypePredicate(signature: Signature): boolean {
8679-
// const predicate = getTypePredicateOfSignature(signature);
8680-
// return !!predicate && (predicate.kind === TypePredicateKind.This || predicate.kind === TypePredicateKind.Identifier);
8681-
// }
8682-
86838673
function getTypePredicateOfSignature(signature: Signature): TypePredicate | undefined {
86848674
if (!signature.resolvedTypePredicate) {
86858675
if (signature.target) {

src/compiler/types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3918,8 +3918,6 @@ namespace ts {
39183918
resolvedSignature?: Signature; // Cached signature of signature node or call expression
39193919
resolvedSymbol?: Symbol; // Cached name resolution result
39203920
resolvedIndexInfo?: IndexInfo; // Cached indexing info resolution result
3921-
//maybeTypePredicate?: boolean; // Cached check whether call expression might reference a type predicate
3922-
//isAssertCall?: boolean;
39233921
resolvedTypePredicate?: TypePredicate; // Cached type predicate for call expression
39243922
enumMemberValue?: string | number; // Constant value of enum member
39253923
isVisible?: boolean; // Is this node visible

0 commit comments

Comments
 (0)