Skip to content

Commit a17c2e9

Browse files
committed
Updated API baselines.
1 parent c25749f commit a17c2e9

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ declare namespace ts {
532532
kind: SyntaxKind.TypeParameter;
533533
parent: DeclarationWithTypeParameters | InferTypeNode;
534534
name: Identifier;
535+
typeParameters?: NodeArray<TypeParameterDeclaration>;
535536
constraint?: TypeNode;
536537
default?: TypeNode;
537538
expression?: Expression;
@@ -1282,7 +1283,7 @@ declare namespace ts {
12821283
block: Block;
12831284
}
12841285
type ObjectTypeDeclaration = ClassLikeDeclaration | InterfaceDeclaration | TypeLiteralNode;
1285-
type DeclarationWithTypeParameters = SignatureDeclaration | ClassLikeDeclaration | InterfaceDeclaration | TypeAliasDeclaration | JSDocTemplateTag | JSDocTypedefTag | JSDocCallbackTag | JSDocSignature;
1286+
type DeclarationWithTypeParameters = SignatureDeclaration | ClassLikeDeclaration | InterfaceDeclaration | TypeAliasDeclaration | TypeParameterDeclaration | JSDocTemplateTag | JSDocTypedefTag | JSDocCallbackTag | JSDocSignature;
12861287
interface ClassLikeDeclarationBase extends NamedDeclaration, JSDocContainer {
12871288
kind: SyntaxKind.ClassDeclaration | SyntaxKind.ClassExpression;
12881289
name?: Identifier;
@@ -2210,6 +2211,7 @@ declare namespace ts {
22102211
ReverseMapped = 2048,
22112212
JsxAttributes = 4096,
22122213
MarkerType = 8192,
2214+
GenericTypeParameter = 16384,
22132215
ClassOrInterface = 3
22142216
}
22152217
interface ObjectType extends Type {
@@ -2243,6 +2245,7 @@ declare namespace ts {
22432245
interface TypeReference extends ObjectType {
22442246
target: GenericType;
22452247
typeArguments?: Type[];
2248+
typeParameterReference?: boolean;
22462249
}
22472250
interface GenericType extends InterfaceType, TypeReference {
22482251
}
@@ -2262,6 +2265,9 @@ declare namespace ts {
22622265
}
22632266
interface TypeParameter extends InstantiableType {
22642267
}
2268+
interface GenericTypeParameter extends GenericType, TypeParameter, InterfaceTypeWithDeclaredMembers {
2269+
localTypeParameters: TypeParameter[];
2270+
}
22652271
interface IndexedAccessType extends InstantiableType {
22662272
objectType: Type;
22672273
indexType: Type;

tests/baselines/reference/api/typescript.d.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,9 +1283,7 @@ declare namespace ts {
12831283
block: Block;
12841284
}
12851285
type ObjectTypeDeclaration = ClassLikeDeclaration | InterfaceDeclaration | TypeLiteralNode;
1286-
12871286
type DeclarationWithTypeParameters = SignatureDeclaration | ClassLikeDeclaration | InterfaceDeclaration | TypeAliasDeclaration | TypeParameterDeclaration | JSDocTemplateTag | JSDocTypedefTag | JSDocCallbackTag | JSDocSignature;
1288-
12891287
interface ClassLikeDeclarationBase extends NamedDeclaration, JSDocContainer {
12901288
kind: SyntaxKind.ClassDeclaration | SyntaxKind.ClassExpression;
12911289
name?: Identifier;
@@ -2213,6 +2211,7 @@ declare namespace ts {
22132211
ReverseMapped = 2048,
22142212
JsxAttributes = 4096,
22152213
MarkerType = 8192,
2214+
GenericTypeParameter = 16384,
22162215
ClassOrInterface = 3
22172216
}
22182217
interface ObjectType extends Type {
@@ -2246,6 +2245,7 @@ declare namespace ts {
22462245
interface TypeReference extends ObjectType {
22472246
target: GenericType;
22482247
typeArguments?: Type[];
2248+
typeParameterReference?: boolean;
22492249
}
22502250
interface GenericType extends InterfaceType, TypeReference {
22512251
}
@@ -2265,6 +2265,9 @@ declare namespace ts {
22652265
}
22662266
interface TypeParameter extends InstantiableType {
22672267
}
2268+
interface GenericTypeParameter extends GenericType, TypeParameter, InterfaceTypeWithDeclaredMembers {
2269+
localTypeParameters: TypeParameter[];
2270+
}
22682271
interface IndexedAccessType extends InstantiableType {
22692272
objectType: Type;
22702273
indexType: Type;

0 commit comments

Comments
 (0)