mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 20:25:23 -06:00
Remove unused code
This commit is contained in:
parent
77f2a412e1
commit
1f5bb970d9
@ -8670,16 +8670,6 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
|
||||
// function hasAssertionTypePredicate(signature: Signature): boolean {
|
||||
// const predicate = getTypePredicateOfSignature(signature);
|
||||
// return !!predicate && predicate.kind === TypePredicateKind.Assertion;
|
||||
// }
|
||||
|
||||
// function hasBooleanTypePredicate(signature: Signature): boolean {
|
||||
// const predicate = getTypePredicateOfSignature(signature);
|
||||
// return !!predicate && (predicate.kind === TypePredicateKind.This || predicate.kind === TypePredicateKind.Identifier);
|
||||
// }
|
||||
|
||||
function getTypePredicateOfSignature(signature: Signature): TypePredicate | undefined {
|
||||
if (!signature.resolvedTypePredicate) {
|
||||
if (signature.target) {
|
||||
|
||||
@ -3918,8 +3918,6 @@ namespace ts {
|
||||
resolvedSignature?: Signature; // Cached signature of signature node or call expression
|
||||
resolvedSymbol?: Symbol; // Cached name resolution result
|
||||
resolvedIndexInfo?: IndexInfo; // Cached indexing info resolution result
|
||||
//maybeTypePredicate?: boolean; // Cached check whether call expression might reference a type predicate
|
||||
//isAssertCall?: boolean;
|
||||
resolvedTypePredicate?: TypePredicate; // Cached type predicate for call expression
|
||||
enumMemberValue?: string | number; // Constant value of enum member
|
||||
isVisible?: boolean; // Is this node visible
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user