@@ -362,6 +362,7 @@ namespace ts {
362362 JSDocFunctionType ,
363363 JSDocVariadicType ,
364364 JSDocComment ,
365+ JSDocTypeLiteral ,
365366 JSDocTag ,
366367 JSDocAugmentsTag ,
367368 JSDocClassTag ,
@@ -371,7 +372,6 @@ namespace ts {
371372 JSDocTemplateTag ,
372373 JSDocTypedefTag ,
373374 JSDocPropertyTag ,
374- JSDocTypeLiteral ,
375375
376376 // Synthesized list
377377 SyntaxList ,
@@ -413,9 +413,9 @@ namespace ts {
413413 LastBinaryOperator = CaretEqualsToken ,
414414 FirstNode = QualifiedName ,
415415 FirstJSDocNode = JSDocTypeExpression ,
416- LastJSDocNode = JSDocTypeLiteral ,
416+ LastJSDocNode = JSDocPropertyTag ,
417417 FirstJSDocTagNode = JSDocTag ,
418- LastJSDocTagNode = JSDocTypeLiteral
418+ LastJSDocTagNode = JSDocPropertyTag
419419 }
420420
421421 export const enum NodeFlags {
@@ -3327,6 +3327,7 @@ namespace ts {
33273327 ObjectLiteral = 1 << 7 , // Originates in an object literal
33283328 EvolvingArray = 1 << 8 , // Evolving array type
33293329 ObjectLiteralPatternWithComputedProperties = 1 << 9 , // Object literal pattern with computed properties
3330+ ContainsSpread = 1 << 10 , // Object literal contains spread operation
33303331 ClassOrInterface = Class | Interface
33313332 }
33323333
@@ -3609,6 +3610,14 @@ namespace ts {
36093610 compareTypes : TypeComparer ; // Type comparer function
36103611 }
36113612
3613+ /* @internal */
3614+ export interface WideningContext {
3615+ parent ?: WideningContext ; // Parent context
3616+ propertyName ?: __String ; // Name of property in parent
3617+ siblings ?: Type [ ] ; // Types of siblings
3618+ resolvedPropertyNames ?: __String [ ] ; // Property names occurring in sibling object literals
3619+ }
3620+
36123621 /* @internal */
36133622 export const enum SpecialPropertyAssignmentKind {
36143623 None ,
0 commit comments