mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 02:33:53 -06:00
Expose Signature.thisParameter (#53628)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
This commit is contained in:
parent
934216f968
commit
da8b54d831
@ -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.
|
||||
|
||||
@ -7313,6 +7313,7 @@ declare namespace ts {
|
||||
declaration?: SignatureDeclaration | JSDocSignature;
|
||||
typeParameters?: readonly TypeParameter[];
|
||||
parameters: readonly Symbol[];
|
||||
thisParameter?: Symbol;
|
||||
}
|
||||
interface Signature {
|
||||
getDeclaration(): SignatureDeclaration;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user