File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
tests/baselines/reference/api Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -755,7 +755,7 @@ namespace ts {
755
755
756
756
export interface TypeParameterDeclaration extends NamedDeclaration {
757
757
kind : SyntaxKind . TypeParameter ;
758
- parent : DeclarationWithTypeParameters | InferTypeNode ;
758
+ parent : DeclarationWithTypeParameterChildren | InferTypeNode ;
759
759
name : Identifier ;
760
760
constraint ?: TypeNode ;
761
761
default ?: TypeNode ;
@@ -2036,7 +2036,8 @@ namespace ts {
2036
2036
2037
2037
export type ObjectTypeDeclaration = ClassLikeDeclaration | InterfaceDeclaration | TypeLiteralNode ;
2038
2038
2039
- export type DeclarationWithTypeParameters = SignatureDeclaration | ClassLikeDeclaration | InterfaceDeclaration | TypeAliasDeclaration | JSDocTemplateTag | JSDocTypedefTag | JSDocCallbackTag | JSDocSignature ;
2039
+ export type DeclarationWithTypeParameters = DeclarationWithTypeParameterChildren | JSDocTypedefTag | JSDocCallbackTag | JSDocSignature ;
2040
+ export type DeclarationWithTypeParameterChildren = SignatureDeclaration | ClassLikeDeclaration | InterfaceDeclaration | TypeAliasDeclaration | JSDocTemplateTag ;
2040
2041
2041
2042
export interface ClassLikeDeclarationBase extends NamedDeclaration , JSDocContainer {
2042
2043
kind : SyntaxKind . ClassDeclaration | SyntaxKind . ClassExpression ;
Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ declare namespace ts {
545
545
}
546
546
interface TypeParameterDeclaration extends NamedDeclaration {
547
547
kind : SyntaxKind . TypeParameter ;
548
- parent : DeclarationWithTypeParameters | InferTypeNode ;
548
+ parent : DeclarationWithTypeParameterChildren | InferTypeNode ;
549
549
name : Identifier ;
550
550
constraint ?: TypeNode ;
551
551
default ?: TypeNode ;
@@ -1317,7 +1317,8 @@ declare namespace ts {
1317
1317
block : Block ;
1318
1318
}
1319
1319
type ObjectTypeDeclaration = ClassLikeDeclaration | InterfaceDeclaration | TypeLiteralNode ;
1320
- type DeclarationWithTypeParameters = SignatureDeclaration | ClassLikeDeclaration | InterfaceDeclaration | TypeAliasDeclaration | JSDocTemplateTag | JSDocTypedefTag | JSDocCallbackTag | JSDocSignature ;
1320
+ type DeclarationWithTypeParameters = DeclarationWithTypeParameterChildren | JSDocTypedefTag | JSDocCallbackTag | JSDocSignature ;
1321
+ type DeclarationWithTypeParameterChildren = SignatureDeclaration | ClassLikeDeclaration | InterfaceDeclaration | TypeAliasDeclaration | JSDocTemplateTag ;
1321
1322
interface ClassLikeDeclarationBase extends NamedDeclaration , JSDocContainer {
1322
1323
kind : SyntaxKind . ClassDeclaration | SyntaxKind . ClassExpression ;
1323
1324
name ?: Identifier ;
Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ declare namespace ts {
545
545
}
546
546
interface TypeParameterDeclaration extends NamedDeclaration {
547
547
kind : SyntaxKind . TypeParameter ;
548
- parent : DeclarationWithTypeParameters | InferTypeNode ;
548
+ parent : DeclarationWithTypeParameterChildren | InferTypeNode ;
549
549
name : Identifier ;
550
550
constraint ?: TypeNode ;
551
551
default ?: TypeNode ;
@@ -1317,7 +1317,8 @@ declare namespace ts {
1317
1317
block : Block ;
1318
1318
}
1319
1319
type ObjectTypeDeclaration = ClassLikeDeclaration | InterfaceDeclaration | TypeLiteralNode ;
1320
- type DeclarationWithTypeParameters = SignatureDeclaration | ClassLikeDeclaration | InterfaceDeclaration | TypeAliasDeclaration | JSDocTemplateTag | JSDocTypedefTag | JSDocCallbackTag | JSDocSignature ;
1320
+ type DeclarationWithTypeParameters = DeclarationWithTypeParameterChildren | JSDocTypedefTag | JSDocCallbackTag | JSDocSignature ;
1321
+ type DeclarationWithTypeParameterChildren = SignatureDeclaration | ClassLikeDeclaration | InterfaceDeclaration | TypeAliasDeclaration | JSDocTemplateTag ;
1321
1322
interface ClassLikeDeclarationBase extends NamedDeclaration , JSDocContainer {
1322
1323
kind : SyntaxKind . ClassDeclaration | SyntaxKind . ClassExpression ;
1323
1324
name ?: Identifier ;
You can’t perform that action at this time.
0 commit comments