@@ -355,40 +355,41 @@ declare namespace ts {
355355 ShorthandPropertyAssignment = 276 ,
356356 SpreadAssignment = 277 ,
357357 EnumMember = 278 ,
358- SourceFile = 279 ,
359- Bundle = 280 ,
360- UnparsedSource = 281 ,
361- InputFiles = 282 ,
362- JSDocTypeExpression = 283 ,
363- JSDocAllType = 284 ,
364- JSDocUnknownType = 285 ,
365- JSDocNullableType = 286 ,
366- JSDocNonNullableType = 287 ,
367- JSDocOptionalType = 288 ,
368- JSDocFunctionType = 289 ,
369- JSDocVariadicType = 290 ,
370- JSDocComment = 291 ,
371- JSDocTypeLiteral = 292 ,
372- JSDocSignature = 293 ,
373- JSDocTag = 294 ,
374- JSDocAugmentsTag = 295 ,
375- JSDocClassTag = 296 ,
376- JSDocCallbackTag = 297 ,
377- JSDocEnumTag = 298 ,
378- JSDocParameterTag = 299 ,
379- JSDocReturnTag = 300 ,
380- JSDocThisTag = 301 ,
381- JSDocTypeTag = 302 ,
382- JSDocTemplateTag = 303 ,
383- JSDocTypedefTag = 304 ,
384- JSDocPropertyTag = 305 ,
385- SyntaxList = 306 ,
386- NotEmittedStatement = 307 ,
387- PartiallyEmittedExpression = 308 ,
388- CommaListExpression = 309 ,
389- MergeDeclarationMarker = 310 ,
390- EndOfDeclarationMarker = 311 ,
391- Count = 312 ,
358+ UnparsedPrologue = 279 ,
359+ SourceFile = 280 ,
360+ Bundle = 281 ,
361+ UnparsedSource = 282 ,
362+ InputFiles = 283 ,
363+ JSDocTypeExpression = 284 ,
364+ JSDocAllType = 285 ,
365+ JSDocUnknownType = 286 ,
366+ JSDocNullableType = 287 ,
367+ JSDocNonNullableType = 288 ,
368+ JSDocOptionalType = 289 ,
369+ JSDocFunctionType = 290 ,
370+ JSDocVariadicType = 291 ,
371+ JSDocComment = 292 ,
372+ JSDocTypeLiteral = 293 ,
373+ JSDocSignature = 294 ,
374+ JSDocTag = 295 ,
375+ JSDocAugmentsTag = 296 ,
376+ JSDocClassTag = 297 ,
377+ JSDocCallbackTag = 298 ,
378+ JSDocEnumTag = 299 ,
379+ JSDocParameterTag = 300 ,
380+ JSDocReturnTag = 301 ,
381+ JSDocThisTag = 302 ,
382+ JSDocTypeTag = 303 ,
383+ JSDocTemplateTag = 304 ,
384+ JSDocTypedefTag = 305 ,
385+ JSDocPropertyTag = 306 ,
386+ SyntaxList = 307 ,
387+ NotEmittedStatement = 308 ,
388+ PartiallyEmittedExpression = 309 ,
389+ CommaListExpression = 310 ,
390+ MergeDeclarationMarker = 311 ,
391+ EndOfDeclarationMarker = 312 ,
392+ Count = 313 ,
392393 FirstAssignment = 59 ,
393394 LastAssignment = 71 ,
394395 FirstCompoundAssignment = 60 ,
@@ -414,10 +415,10 @@ declare namespace ts {
414415 FirstBinaryOperator = 28 ,
415416 LastBinaryOperator = 71 ,
416417 FirstNode = 148 ,
417- FirstJSDocNode = 283 ,
418- LastJSDocNode = 305 ,
419- FirstJSDocTagNode = 294 ,
420- LastJSDocTagNode = 305
418+ FirstJSDocNode = 284 ,
419+ LastJSDocNode = 306 ,
420+ FirstJSDocTagNode = 295 ,
421+ LastJSDocTagNode = 306
421422 }
422423 enum NodeFlags {
423424 None = 0 ,
@@ -1739,9 +1740,15 @@ declare namespace ts {
17391740 kind : SyntaxKind . UnparsedSource ;
17401741 fileName ?: string ;
17411742 text : string ;
1743+ prologues : ReadonlyArray < UnparsedPrologue > ;
17421744 sourceMapPath ?: string ;
17431745 sourceMapText ?: string ;
17441746 }
1747+ interface UnparsedPrologue extends Node {
1748+ kind : SyntaxKind . UnparsedSource ;
1749+ text : string ;
1750+ parent : UnparsedSource ;
1751+ }
17451752 interface JsonSourceFile extends SourceFile {
17461753 statements : NodeArray < JsonObjectExpressionStatement > ;
17471754 }
@@ -3447,6 +3454,7 @@ declare namespace ts {
34473454 function isSourceFile ( node : Node ) : node is SourceFile ;
34483455 function isBundle ( node : Node ) : node is Bundle ;
34493456 function isUnparsedSource ( node : Node ) : node is UnparsedSource ;
3457+ function isUnparsedPrologue ( node : Node ) : node is UnparsedPrologue ;
34503458 function isJSDocTypeExpression ( node : Node ) : node is JSDocTypeExpression ;
34513459 function isJSDocAllType ( node : JSDocAllType ) : node is JSDocAllType ;
34523460 function isJSDocUnknownType ( node : Node ) : node is JSDocUnknownType ;
0 commit comments