Skip to content

Commit 0ec299b

Browse files
author
Joseph Watts
committed
Accept baseline changes
Signed-off-by: Joseph Watts <[email protected]>
1 parent a474060 commit 0ec299b

File tree

3 files changed

+64
-594
lines changed

3 files changed

+64
-594
lines changed

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

Lines changed: 31 additions & 296 deletions
Original file line numberDiff line numberDiff line change
@@ -151,232 +151,6 @@ declare namespace ts {
151151
BarEqualsToken = 71,
152152
CaretEqualsToken = 72,
153153
Identifier = 73,
154-
<<<<<<< HEAD
155-
BreakKeyword = 74,
156-
CaseKeyword = 75,
157-
CatchKeyword = 76,
158-
ClassKeyword = 77,
159-
ConstKeyword = 78,
160-
ContinueKeyword = 79,
161-
DebuggerKeyword = 80,
162-
DefaultKeyword = 81,
163-
DeleteKeyword = 82,
164-
DoKeyword = 83,
165-
ElseKeyword = 84,
166-
EnumKeyword = 85,
167-
ExportKeyword = 86,
168-
ExtendsKeyword = 87,
169-
FalseKeyword = 88,
170-
FinallyKeyword = 89,
171-
ForKeyword = 90,
172-
FunctionKeyword = 91,
173-
IfKeyword = 92,
174-
ImportKeyword = 93,
175-
InKeyword = 94,
176-
InstanceOfKeyword = 95,
177-
NewKeyword = 96,
178-
NullKeyword = 97,
179-
ReturnKeyword = 98,
180-
SuperKeyword = 99,
181-
SwitchKeyword = 100,
182-
ThisKeyword = 101,
183-
ThrowKeyword = 102,
184-
TrueKeyword = 103,
185-
TryKeyword = 104,
186-
TypeOfKeyword = 105,
187-
VarKeyword = 106,
188-
VoidKeyword = 107,
189-
WhileKeyword = 108,
190-
WithKeyword = 109,
191-
ImplementsKeyword = 110,
192-
InterfaceKeyword = 111,
193-
LetKeyword = 112,
194-
PackageKeyword = 113,
195-
PrivateKeyword = 114,
196-
ProtectedKeyword = 115,
197-
PublicKeyword = 116,
198-
StaticKeyword = 117,
199-
YieldKeyword = 118,
200-
AbstractKeyword = 119,
201-
AsKeyword = 120,
202-
AnyKeyword = 121,
203-
AsyncKeyword = 122,
204-
AwaitKeyword = 123,
205-
BooleanKeyword = 124,
206-
ConstructorKeyword = 125,
207-
DeclareKeyword = 126,
208-
GetKeyword = 127,
209-
InferKeyword = 128,
210-
IsKeyword = 129,
211-
KeyOfKeyword = 130,
212-
ModuleKeyword = 131,
213-
NamespaceKeyword = 132,
214-
NeverKeyword = 133,
215-
ReadonlyKeyword = 134,
216-
RequireKeyword = 135,
217-
NumberKeyword = 136,
218-
ObjectKeyword = 137,
219-
SetKeyword = 138,
220-
StringKeyword = 139,
221-
SymbolKeyword = 140,
222-
TypeKeyword = 141,
223-
UndefinedKeyword = 142,
224-
UniqueKeyword = 143,
225-
UnknownKeyword = 144,
226-
FromKeyword = 145,
227-
GlobalKeyword = 146,
228-
BigIntKeyword = 147,
229-
OfKeyword = 148,
230-
QualifiedName = 149,
231-
ComputedPropertyName = 150,
232-
TypeParameter = 151,
233-
Parameter = 152,
234-
Decorator = 153,
235-
PropertySignature = 154,
236-
PropertyDeclaration = 155,
237-
MethodSignature = 156,
238-
MethodDeclaration = 157,
239-
Constructor = 158,
240-
GetAccessor = 159,
241-
SetAccessor = 160,
242-
CallSignature = 161,
243-
ConstructSignature = 162,
244-
IndexSignature = 163,
245-
TypePredicate = 164,
246-
TypeReference = 165,
247-
FunctionType = 166,
248-
ConstructorType = 167,
249-
TypeQuery = 168,
250-
TypeLiteral = 169,
251-
ArrayType = 170,
252-
TupleType = 171,
253-
OptionalType = 172,
254-
RestType = 173,
255-
UnionType = 174,
256-
IntersectionType = 175,
257-
ConditionalType = 176,
258-
InferType = 177,
259-
ParenthesizedType = 178,
260-
ThisType = 179,
261-
TypeOperator = 180,
262-
IndexedAccessType = 181,
263-
MappedType = 182,
264-
LiteralType = 183,
265-
ImportType = 184,
266-
ObjectBindingPattern = 185,
267-
ArrayBindingPattern = 186,
268-
BindingElement = 187,
269-
ArrayLiteralExpression = 188,
270-
ObjectLiteralExpression = 189,
271-
PropertyAccessExpression = 190,
272-
ElementAccessExpression = 191,
273-
CallExpression = 192,
274-
NewExpression = 193,
275-
TaggedTemplateExpression = 194,
276-
TypeAssertionExpression = 195,
277-
ParenthesizedExpression = 196,
278-
FunctionExpression = 197,
279-
ArrowFunction = 198,
280-
DeleteExpression = 199,
281-
TypeOfExpression = 200,
282-
VoidExpression = 201,
283-
AwaitExpression = 202,
284-
PrefixUnaryExpression = 203,
285-
PostfixUnaryExpression = 204,
286-
BinaryExpression = 205,
287-
ConditionalExpression = 206,
288-
TemplateExpression = 207,
289-
YieldExpression = 208,
290-
SpreadElement = 209,
291-
ClassExpression = 210,
292-
OmittedExpression = 211,
293-
ExpressionWithTypeArguments = 212,
294-
AsExpression = 213,
295-
NonNullExpression = 214,
296-
MetaProperty = 215,
297-
SyntheticExpression = 216,
298-
TemplateSpan = 217,
299-
SemicolonClassElement = 218,
300-
Block = 219,
301-
VariableStatement = 220,
302-
EmptyStatement = 221,
303-
ExpressionStatement = 222,
304-
IfStatement = 223,
305-
DoStatement = 224,
306-
WhileStatement = 225,
307-
ForStatement = 226,
308-
ForInStatement = 227,
309-
ForOfStatement = 228,
310-
ContinueStatement = 229,
311-
BreakStatement = 230,
312-
ReturnStatement = 231,
313-
WithStatement = 232,
314-
SwitchStatement = 233,
315-
LabeledStatement = 234,
316-
ThrowStatement = 235,
317-
TryStatement = 236,
318-
DebuggerStatement = 237,
319-
VariableDeclaration = 238,
320-
VariableDeclarationList = 239,
321-
FunctionDeclaration = 240,
322-
ClassDeclaration = 241,
323-
InterfaceDeclaration = 242,
324-
TypeAliasDeclaration = 243,
325-
EnumDeclaration = 244,
326-
ModuleDeclaration = 245,
327-
ModuleBlock = 246,
328-
CaseBlock = 247,
329-
NamespaceExportDeclaration = 248,
330-
ImportEqualsDeclaration = 249,
331-
ImportDeclaration = 250,
332-
ImportClause = 251,
333-
NamespaceImport = 252,
334-
NamedImports = 253,
335-
ImportSpecifier = 254,
336-
ExportAssignment = 255,
337-
ExportDeclaration = 256,
338-
NamedExports = 257,
339-
ExportSpecifier = 258,
340-
MissingDeclaration = 259,
341-
ExternalModuleReference = 260,
342-
JsxElement = 261,
343-
JsxSelfClosingElement = 262,
344-
JsxOpeningElement = 263,
345-
JsxClosingElement = 264,
346-
JsxFragment = 265,
347-
JsxOpeningFragment = 266,
348-
JsxClosingFragment = 267,
349-
JsxAttribute = 268,
350-
JsxAttributes = 269,
351-
JsxSpreadAttribute = 270,
352-
JsxExpression = 271,
353-
CaseClause = 272,
354-
DefaultClause = 273,
355-
HeritageClause = 274,
356-
CatchClause = 275,
357-
PropertyAssignment = 276,
358-
ShorthandPropertyAssignment = 277,
359-
SpreadAssignment = 278,
360-
EnumMember = 279,
361-
UnparsedPrologue = 280,
362-
UnparsedPrepend = 281,
363-
UnparsedText = 282,
364-
UnparsedInternalText = 283,
365-
UnparsedSyntheticReference = 284,
366-
SourceFile = 285,
367-
Bundle = 286,
368-
UnparsedSource = 287,
369-
InputFiles = 288,
370-
JSDocTypeExpression = 289,
371-
JSDocAllType = 290,
372-
JSDocUnknownType = 291,
373-
JSDocNullableType = 292,
374-
JSDocNonNullableType = 293,
375-
JSDocOptionalType = 294,
376-
JSDocFunctionType = 295,
377-
JSDocVariadicType = 296,
378-
JSDocNamepathType = 297,
379-
=======
380154
PrivateName = 74,
381155
BreakKeyword = 75,
382156
CaseKeyword = 76,
@@ -601,50 +375,30 @@ declare namespace ts {
601375
JSDocOptionalType = 295,
602376
JSDocFunctionType = 296,
603377
JSDocVariadicType = 297,
604-
>>>>>>> ce7016e5d4... Parse Private Names
605-
JSDocComment = 298,
606-
JSDocTypeLiteral = 299,
607-
JSDocSignature = 300,
608-
JSDocTag = 301,
609-
JSDocAugmentsTag = 302,
610-
<<<<<<< HEAD
611-
JSDocAuthorTag = 303,
612-
JSDocClassTag = 304,
613-
JSDocCallbackTag = 305,
614-
JSDocEnumTag = 306,
615-
JSDocParameterTag = 307,
616-
JSDocReturnTag = 308,
617-
JSDocThisTag = 309,
618-
JSDocTypeTag = 310,
619-
JSDocTemplateTag = 311,
620-
JSDocTypedefTag = 312,
621-
JSDocPropertyTag = 313,
622-
SyntaxList = 314,
623-
NotEmittedStatement = 315,
624-
PartiallyEmittedExpression = 316,
625-
CommaListExpression = 317,
626-
MergeDeclarationMarker = 318,
627-
EndOfDeclarationMarker = 319,
628-
Count = 320,
629-
=======
630-
JSDocClassTag = 303,
631-
JSDocCallbackTag = 304,
632-
JSDocEnumTag = 305,
633-
JSDocParameterTag = 306,
634-
JSDocReturnTag = 307,
635-
JSDocThisTag = 308,
636-
JSDocTypeTag = 309,
637-
JSDocTemplateTag = 310,
638-
JSDocTypedefTag = 311,
639-
JSDocPropertyTag = 312,
640-
SyntaxList = 313,
641-
NotEmittedStatement = 314,
642-
PartiallyEmittedExpression = 315,
643-
CommaListExpression = 316,
644-
MergeDeclarationMarker = 317,
645-
EndOfDeclarationMarker = 318,
646-
Count = 319,
647-
>>>>>>> ce7016e5d4... Parse Private Names
378+
JSDocNamepathType = 298,
379+
JSDocComment = 299,
380+
JSDocTypeLiteral = 300,
381+
JSDocSignature = 301,
382+
JSDocTag = 302,
383+
JSDocAugmentsTag = 303,
384+
JSDocAuthorTag = 304,
385+
JSDocClassTag = 305,
386+
JSDocCallbackTag = 306,
387+
JSDocEnumTag = 307,
388+
JSDocParameterTag = 308,
389+
JSDocReturnTag = 309,
390+
JSDocThisTag = 310,
391+
JSDocTypeTag = 311,
392+
JSDocTemplateTag = 312,
393+
JSDocTypedefTag = 313,
394+
JSDocPropertyTag = 314,
395+
SyntaxList = 315,
396+
NotEmittedStatement = 316,
397+
PartiallyEmittedExpression = 317,
398+
CommaListExpression = 318,
399+
MergeDeclarationMarker = 319,
400+
EndOfDeclarationMarker = 320,
401+
Count = 321,
648402
FirstAssignment = 60,
649403
LastAssignment = 72,
650404
FirstCompoundAssignment = 61,
@@ -669,19 +423,11 @@ declare namespace ts {
669423
LastTemplateToken = 17,
670424
FirstBinaryOperator = 28,
671425
LastBinaryOperator = 72,
672-
<<<<<<< HEAD
673-
FirstNode = 149,
674-
FirstJSDocNode = 289,
675-
LastJSDocNode = 313,
676-
FirstJSDocTagNode = 301,
677-
LastJSDocTagNode = 313,
678-
=======
679426
FirstNode = 150,
680427
FirstJSDocNode = 290,
681-
LastJSDocNode = 312,
682-
FirstJSDocTagNode = 301,
683-
LastJSDocTagNode = 312,
684-
>>>>>>> ce7016e5d4... Parse Private Names
428+
LastJSDocNode = 314,
429+
FirstJSDocTagNode = 302,
430+
LastJSDocTagNode = 314,
685431
}
686432
export enum NodeFlags {
687433
None = 0,
@@ -792,17 +538,10 @@ declare namespace ts {
792538
left: EntityName;
793539
right: Identifier;
794540
}
795-
<<<<<<< HEAD
796541
export type EntityName = Identifier | QualifiedName;
797-
export type PropertyName = Identifier | StringLiteral | NumericLiteral | ComputedPropertyName;
798-
export type DeclarationName = Identifier | StringLiteralLike | NumericLiteral | ComputedPropertyName | BindingPattern;
542+
export type PropertyName = Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateName;
543+
export type DeclarationName = Identifier | PrivateName | StringLiteralLike | NumericLiteral | ComputedPropertyName | BindingPattern;
799544
export interface Declaration extends Node {
800-
=======
801-
type EntityName = Identifier | QualifiedName;
802-
type PropertyName = Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateName;
803-
type DeclarationName = Identifier | PrivateName | StringLiteralLike | NumericLiteral | ComputedPropertyName | BindingPattern;
804-
interface Declaration extends Node {
805-
>>>>>>> ce7016e5d4... Parse Private Names
806545
_declarationBrand: any;
807546
}
808547
export interface NamedDeclaration extends Declaration {
@@ -816,15 +555,11 @@ declare namespace ts {
816555
kind: SyntaxKind.ComputedPropertyName;
817556
expression: Expression;
818557
}
819-
<<<<<<< HEAD
820-
export interface Decorator extends Node {
821-
=======
822-
interface PrivateName extends PrimaryExpression, Declaration {
558+
export interface PrivateName extends PrimaryExpression, Declaration {
823559
kind: SyntaxKind.PrivateName;
824560
escapedText: __String;
825561
}
826-
interface Decorator extends Node {
827-
>>>>>>> ce7016e5d4... Parse Private Names
562+
export interface Decorator extends Node {
828563
kind: SyntaxKind.Decorator;
829564
parent: NamedDeclaration;
830565
expression: LeftHandSideExpression;

0 commit comments

Comments
 (0)