mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Expose getTypePredicateOfSignature (#44863)
This commit is contained in:
parent
55ed742574
commit
e263fcebf8
@ -4329,7 +4329,7 @@ namespace ts {
|
||||
* This should be called in a loop climbing parents of the symbol, so we'll get `N`.
|
||||
*/
|
||||
/* @internal */ getAccessibleSymbolChain(symbol: Symbol, enclosingDeclaration: Node | undefined, meaning: SymbolFlags, useOnlyExternalAliasing: boolean): Symbol[] | undefined;
|
||||
/* @internal */ getTypePredicateOfSignature(signature: Signature): TypePredicate | undefined;
|
||||
getTypePredicateOfSignature(signature: Signature): TypePredicate | undefined;
|
||||
/* @internal */ resolveExternalModuleName(moduleSpecifier: Expression): Symbol | undefined;
|
||||
/**
|
||||
* An external module with an 'export =' declaration resolves to the target of the 'export =' declaration,
|
||||
|
||||
@ -2282,6 +2282,7 @@ declare namespace ts {
|
||||
getApparentType(type: Type): Type;
|
||||
getBaseConstraintOfType(type: Type): Type | undefined;
|
||||
getDefaultFromTypeParameter(type: Type): Type | undefined;
|
||||
getTypePredicateOfSignature(signature: Signature): TypePredicate | undefined;
|
||||
/**
|
||||
* Depending on the operation performed, it may be appropriate to throw away the checker
|
||||
* if the cancellation token is triggered. Typically, if it is used for error checking
|
||||
|
||||
@ -2282,6 +2282,7 @@ declare namespace ts {
|
||||
getApparentType(type: Type): Type;
|
||||
getBaseConstraintOfType(type: Type): Type | undefined;
|
||||
getDefaultFromTypeParameter(type: Type): Type | undefined;
|
||||
getTypePredicateOfSignature(signature: Signature): TypePredicate | undefined;
|
||||
/**
|
||||
* Depending on the operation performed, it may be appropriate to throw away the checker
|
||||
* if the cancellation token is triggered. Typically, if it is used for error checking
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user