Signature#declaration can be undefined (#22515)
This commit is contained in:
parent
1736741e54
commit
7715b5139b
3 changed files with 3 additions and 3 deletions
|
@ -3875,7 +3875,7 @@ namespace ts {
|
|||
}
|
||||
|
||||
export interface Signature {
|
||||
declaration: SignatureDeclaration; // Originating declaration
|
||||
declaration?: SignatureDeclaration; // Originating declaration
|
||||
typeParameters?: TypeParameter[]; // Type parameters (undefined if non-generic)
|
||||
parameters: Symbol[]; // Parameters
|
||||
/* @internal */
|
||||
|
|
|
@ -2223,7 +2223,7 @@ declare namespace ts {
|
|||
Construct = 1,
|
||||
}
|
||||
interface Signature {
|
||||
declaration: SignatureDeclaration;
|
||||
declaration?: SignatureDeclaration;
|
||||
typeParameters?: TypeParameter[];
|
||||
parameters: Symbol[];
|
||||
}
|
||||
|
|
|
@ -2223,7 +2223,7 @@ declare namespace ts {
|
|||
Construct = 1,
|
||||
}
|
||||
interface Signature {
|
||||
declaration: SignatureDeclaration;
|
||||
declaration?: SignatureDeclaration;
|
||||
typeParameters?: TypeParameter[];
|
||||
parameters: Symbol[];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue