File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -8670,16 +8670,6 @@ namespace ts {
8670
8670
}
8671
8671
}
8672
8672
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
-
8683
8673
function getTypePredicateOfSignature(signature: Signature): TypePredicate | undefined {
8684
8674
if (!signature.resolvedTypePredicate) {
8685
8675
if (signature.target) {
Original file line number Diff line number Diff line change @@ -3918,8 +3918,6 @@ namespace ts {
3918
3918
resolvedSignature ?: Signature ; // Cached signature of signature node or call expression
3919
3919
resolvedSymbol ?: Symbol ; // Cached name resolution result
3920
3920
resolvedIndexInfo ?: IndexInfo ; // Cached indexing info resolution result
3921
- //maybeTypePredicate?: boolean; // Cached check whether call expression might reference a type predicate
3922
- //isAssertCall?: boolean;
3923
3921
resolvedTypePredicate ?: TypePredicate ; // Cached type predicate for call expression
3924
3922
enumMemberValue ?: string | number ; // Constant value of enum member
3925
3923
isVisible ?: boolean ; // Is this node visible
You can’t perform that action at this time.
0 commit comments