Merge pull request #14327 from Microsoft/getTypeParameters
Add more specific return type for `getTypeParameters()`
This commit is contained in:
commit
14b0c77f24
2 changed files with 2 additions and 2 deletions
|
@ -412,7 +412,7 @@ namespace ts {
|
|||
getDeclaration(): SignatureDeclaration {
|
||||
return this.declaration;
|
||||
}
|
||||
getTypeParameters(): Type[] {
|
||||
getTypeParameters(): TypeParameter[] {
|
||||
return this.typeParameters;
|
||||
}
|
||||
getParameters(): Symbol[] {
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace ts {
|
|||
|
||||
export interface Signature {
|
||||
getDeclaration(): SignatureDeclaration;
|
||||
getTypeParameters(): Type[];
|
||||
getTypeParameters(): TypeParameter[];
|
||||
getParameters(): Symbol[];
|
||||
getReturnType(): Type;
|
||||
getDocumentationComment(): SymbolDisplayPart[];
|
||||
|
|
Loading…
Reference in a new issue