Skip to content

Commit da8b54d

Browse files
Gerrit0sandersn
andauthored
Expose Signature.thisParameter (#53628)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
1 parent 934216f commit da8b54d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/compiler/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6694,7 +6694,6 @@ export interface Signature {
66946694
declaration?: SignatureDeclaration | JSDocSignature; // Originating declaration
66956695
typeParameters?: readonly TypeParameter[]; // Type parameters (undefined if non-generic)
66966696
parameters: readonly Symbol[]; // Parameters
6697-
/** @internal */
66986697
thisParameter?: Symbol; // symbol of this-type parameter
66996698
/** @internal */
67006699
// See comment in `instantiateSignature` for why these are set lazily.

tests/baselines/reference/api/typescript.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7313,6 +7313,7 @@ declare namespace ts {
73137313
declaration?: SignatureDeclaration | JSDocSignature;
73147314
typeParameters?: readonly TypeParameter[];
73157315
parameters: readonly Symbol[];
7316+
thisParameter?: Symbol;
73167317
}
73177318
interface Signature {
73187319
getDeclaration(): SignatureDeclaration;

0 commit comments

Comments
 (0)