Skip to content

Commit 5245642

Browse files
committed
Accept baseline API changes
1 parent 0b0a91a commit 5245642

2 files changed

Lines changed: 210 additions & 198 deletions

File tree

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

Lines changed: 105 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -274,101 +274,102 @@ declare namespace ts {
274274
AsExpression = 209,
275275
NonNullExpression = 210,
276276
MetaProperty = 211,
277-
TemplateSpan = 212,
278-
SemicolonClassElement = 213,
279-
Block = 214,
280-
VariableStatement = 215,
281-
EmptyStatement = 216,
282-
ExpressionStatement = 217,
283-
IfStatement = 218,
284-
DoStatement = 219,
285-
WhileStatement = 220,
286-
ForStatement = 221,
287-
ForInStatement = 222,
288-
ForOfStatement = 223,
289-
ContinueStatement = 224,
290-
BreakStatement = 225,
291-
ReturnStatement = 226,
292-
WithStatement = 227,
293-
SwitchStatement = 228,
294-
LabeledStatement = 229,
295-
ThrowStatement = 230,
296-
TryStatement = 231,
297-
DebuggerStatement = 232,
298-
VariableDeclaration = 233,
299-
VariableDeclarationList = 234,
300-
FunctionDeclaration = 235,
301-
ClassDeclaration = 236,
302-
InterfaceDeclaration = 237,
303-
TypeAliasDeclaration = 238,
304-
EnumDeclaration = 239,
305-
ModuleDeclaration = 240,
306-
ModuleBlock = 241,
307-
CaseBlock = 242,
308-
NamespaceExportDeclaration = 243,
309-
ImportEqualsDeclaration = 244,
310-
ImportDeclaration = 245,
311-
ImportClause = 246,
312-
NamespaceImport = 247,
313-
NamedImports = 248,
314-
ImportSpecifier = 249,
315-
ExportAssignment = 250,
316-
ExportDeclaration = 251,
317-
NamedExports = 252,
318-
ExportSpecifier = 253,
319-
MissingDeclaration = 254,
320-
ExternalModuleReference = 255,
321-
JsxElement = 256,
322-
JsxSelfClosingElement = 257,
323-
JsxOpeningElement = 258,
324-
JsxClosingElement = 259,
325-
JsxFragment = 260,
326-
JsxOpeningFragment = 261,
327-
JsxClosingFragment = 262,
328-
JsxAttribute = 263,
329-
JsxAttributes = 264,
330-
JsxSpreadAttribute = 265,
331-
JsxExpression = 266,
332-
CaseClause = 267,
333-
DefaultClause = 268,
334-
HeritageClause = 269,
335-
CatchClause = 270,
336-
PropertyAssignment = 271,
337-
ShorthandPropertyAssignment = 272,
338-
SpreadAssignment = 273,
339-
EnumMember = 274,
340-
SourceFile = 275,
341-
Bundle = 276,
342-
UnparsedSource = 277,
343-
InputFiles = 278,
344-
JSDocTypeExpression = 279,
345-
JSDocAllType = 280,
346-
JSDocUnknownType = 281,
347-
JSDocNullableType = 282,
348-
JSDocNonNullableType = 283,
349-
JSDocOptionalType = 284,
350-
JSDocFunctionType = 285,
351-
JSDocVariadicType = 286,
352-
JSDocComment = 287,
353-
JSDocTypeLiteral = 288,
354-
JSDocSignature = 289,
355-
JSDocTag = 290,
356-
JSDocAugmentsTag = 291,
357-
JSDocClassTag = 292,
358-
JSDocCallbackTag = 293,
359-
JSDocParameterTag = 294,
360-
JSDocReturnTag = 295,
361-
JSDocTypeTag = 296,
362-
JSDocTemplateTag = 297,
363-
JSDocTypedefTag = 298,
364-
JSDocPropertyTag = 299,
365-
SyntaxList = 300,
366-
NotEmittedStatement = 301,
367-
PartiallyEmittedExpression = 302,
368-
CommaListExpression = 303,
369-
MergeDeclarationMarker = 304,
370-
EndOfDeclarationMarker = 305,
371-
Count = 306,
277+
SyntheticExpression = 212,
278+
TemplateSpan = 213,
279+
SemicolonClassElement = 214,
280+
Block = 215,
281+
VariableStatement = 216,
282+
EmptyStatement = 217,
283+
ExpressionStatement = 218,
284+
IfStatement = 219,
285+
DoStatement = 220,
286+
WhileStatement = 221,
287+
ForStatement = 222,
288+
ForInStatement = 223,
289+
ForOfStatement = 224,
290+
ContinueStatement = 225,
291+
BreakStatement = 226,
292+
ReturnStatement = 227,
293+
WithStatement = 228,
294+
SwitchStatement = 229,
295+
LabeledStatement = 230,
296+
ThrowStatement = 231,
297+
TryStatement = 232,
298+
DebuggerStatement = 233,
299+
VariableDeclaration = 234,
300+
VariableDeclarationList = 235,
301+
FunctionDeclaration = 236,
302+
ClassDeclaration = 237,
303+
InterfaceDeclaration = 238,
304+
TypeAliasDeclaration = 239,
305+
EnumDeclaration = 240,
306+
ModuleDeclaration = 241,
307+
ModuleBlock = 242,
308+
CaseBlock = 243,
309+
NamespaceExportDeclaration = 244,
310+
ImportEqualsDeclaration = 245,
311+
ImportDeclaration = 246,
312+
ImportClause = 247,
313+
NamespaceImport = 248,
314+
NamedImports = 249,
315+
ImportSpecifier = 250,
316+
ExportAssignment = 251,
317+
ExportDeclaration = 252,
318+
NamedExports = 253,
319+
ExportSpecifier = 254,
320+
MissingDeclaration = 255,
321+
ExternalModuleReference = 256,
322+
JsxElement = 257,
323+
JsxSelfClosingElement = 258,
324+
JsxOpeningElement = 259,
325+
JsxClosingElement = 260,
326+
JsxFragment = 261,
327+
JsxOpeningFragment = 262,
328+
JsxClosingFragment = 263,
329+
JsxAttribute = 264,
330+
JsxAttributes = 265,
331+
JsxSpreadAttribute = 266,
332+
JsxExpression = 267,
333+
CaseClause = 268,
334+
DefaultClause = 269,
335+
HeritageClause = 270,
336+
CatchClause = 271,
337+
PropertyAssignment = 272,
338+
ShorthandPropertyAssignment = 273,
339+
SpreadAssignment = 274,
340+
EnumMember = 275,
341+
SourceFile = 276,
342+
Bundle = 277,
343+
UnparsedSource = 278,
344+
InputFiles = 279,
345+
JSDocTypeExpression = 280,
346+
JSDocAllType = 281,
347+
JSDocUnknownType = 282,
348+
JSDocNullableType = 283,
349+
JSDocNonNullableType = 284,
350+
JSDocOptionalType = 285,
351+
JSDocFunctionType = 286,
352+
JSDocVariadicType = 287,
353+
JSDocComment = 288,
354+
JSDocTypeLiteral = 289,
355+
JSDocSignature = 290,
356+
JSDocTag = 291,
357+
JSDocAugmentsTag = 292,
358+
JSDocClassTag = 293,
359+
JSDocCallbackTag = 294,
360+
JSDocParameterTag = 295,
361+
JSDocReturnTag = 296,
362+
JSDocTypeTag = 297,
363+
JSDocTemplateTag = 298,
364+
JSDocTypedefTag = 299,
365+
JSDocPropertyTag = 300,
366+
SyntaxList = 301,
367+
NotEmittedStatement = 302,
368+
PartiallyEmittedExpression = 303,
369+
CommaListExpression = 304,
370+
MergeDeclarationMarker = 305,
371+
EndOfDeclarationMarker = 306,
372+
Count = 307,
372373
FirstAssignment = 58,
373374
LastAssignment = 70,
374375
FirstCompoundAssignment = 59,
@@ -394,10 +395,10 @@ declare namespace ts {
394395
FirstBinaryOperator = 27,
395396
LastBinaryOperator = 70,
396397
FirstNode = 146,
397-
FirstJSDocNode = 279,
398-
LastJSDocNode = 299,
399-
FirstJSDocTagNode = 290,
400-
LastJSDocTagNode = 299
398+
FirstJSDocNode = 280,
399+
LastJSDocNode = 300,
400+
FirstJSDocTagNode = 291,
401+
LastJSDocTagNode = 300
401402
}
402403
enum NodeFlags {
403404
None = 0,
@@ -880,6 +881,10 @@ declare namespace ts {
880881
asteriskToken?: AsteriskToken;
881882
expression?: Expression;
882883
}
884+
interface SyntheticExpression extends Expression {
885+
kind: SyntaxKind.SyntheticExpression;
886+
type: Type;
887+
}
883888
type ExponentiationOperator = SyntaxKind.AsteriskAsteriskToken;
884889
type MultiplicativeOperator = SyntaxKind.AsteriskToken | SyntaxKind.SlashToken | SyntaxKind.PercentToken;
885890
type MultiplicativeOperatorOrHigher = ExponentiationOperator | MultiplicativeOperator;
@@ -2256,6 +2261,7 @@ declare namespace ts {
22562261
}
22572262
interface TupleType extends GenericType {
22582263
minLength: number;
2264+
associatedNames?: __String[];
22592265
}
22602266
interface UnionOrIntersectionType extends Type {
22612267
types: Type[];

0 commit comments

Comments
 (0)