mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 20:51:43 -06:00
Signature#declaration can be undefined (#22515)
This commit is contained in:
parent
1736741e54
commit
7715b5139b
@ -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…
x
Reference in New Issue
Block a user