Expose Signature.thisParameter (#53628)

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
This commit is contained in:
Gerrit BirkelandandNathan Shively-Sanders authored and GitHub committed 2023-09-22 15:51:41 -07:00
1 parent 934216f968
commit da8b54d831
2 files changed
+1 -1

No files matched your search

-1
View File
@@ -6694,7 +6694,6 @@ export interface Signature {
declaration?: SignatureDeclaration | JSDocSignature; // Originating declaration
typeParameters?: readonly TypeParameter[]; // Type parameters (undefined if non-generic)
parameters: readonly Symbol[]; // Parameters
/** @internal */
thisParameter?: Symbol; // symbol of this-type parameter
/** @internal */
// See comment in `instantiateSignature` for why these are set lazily.
+1
View File
@@ -7313,6 +7313,7 @@ declare namespace ts {
declaration?: SignatureDeclaration | JSDocSignature;
typeParameters?: readonly TypeParameter[];
parameters: readonly Symbol[];
thisParameter?: Symbol;
}
interface Signature {
getDeclaration(): SignatureDeclaration;