@@ -403,7 +403,7 @@ declare namespace ts {
403
403
hasTrailingComma ?: boolean ;
404
404
}
405
405
interface ModifiersArray extends NodeArray < Modifier > {
406
- flags : number ;
406
+ flags : NodeFlags ;
407
407
}
408
408
interface Modifier extends Node {
409
409
}
@@ -1437,6 +1437,7 @@ declare namespace ts {
1437
1437
BlockScoped = 418 ,
1438
1438
PropertyOrAccessor = 98308 ,
1439
1439
Export = 7340032 ,
1440
+ ClassMember = 106500 ,
1440
1441
Classifiable = 788448 ,
1441
1442
}
1442
1443
interface Symbol {
@@ -1453,7 +1454,7 @@ declare namespace ts {
1453
1454
parent ?: Symbol ;
1454
1455
exportSymbol ?: Symbol ;
1455
1456
constEnumOnlyModule ?: boolean ;
1456
- hasReference ?: boolean ;
1457
+ isReferenced ?: boolean ;
1457
1458
}
1458
1459
interface SymbolLinks {
1459
1460
target ?: Symbol ;
@@ -1734,6 +1735,7 @@ declare namespace ts {
1734
1735
declaration ?: boolean ;
1735
1736
declarationDir ?: string ;
1736
1737
diagnostics ?: boolean ;
1738
+ disableSizeLimit ?: boolean ;
1737
1739
emitBOM ?: boolean ;
1738
1740
emitDecoratorMetadata ?: boolean ;
1739
1741
experimentalDecorators ?: boolean ;
@@ -1749,6 +1751,7 @@ declare namespace ts {
1749
1751
listFiles ?: boolean ;
1750
1752
locale ?: string ;
1751
1753
mapRoot ?: string ;
1754
+ maxNodeModuleJsDepth ?: number ;
1752
1755
module ?: ModuleKind ;
1753
1756
moduleResolution ?: ModuleResolutionKind ;
1754
1757
newLine ?: NewLineKind ;
@@ -1787,7 +1790,6 @@ declare namespace ts {
1787
1790
suppressOutputPathCheck ?: boolean ;
1788
1791
target ?: ScriptTarget ;
1789
1792
traceResolution ?: boolean ;
1790
- disableSizeLimit ?: boolean ;
1791
1793
types ?: string [ ] ;
1792
1794
typeRoots ?: string [ ] ;
1793
1795
version ?: boolean ;
@@ -5752,6 +5754,12 @@ declare namespace ts {
5752
5754
key : string ;
5753
5755
message : string ;
5754
5756
} ;
5757
+ File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0 : {
5758
+ code : number ;
5759
+ category : DiagnosticCategory ;
5760
+ key : string ;
5761
+ message : string ;
5762
+ } ;
5755
5763
Concatenate_and_emit_output_to_single_file : {
5756
5764
code : number ;
5757
5765
category : DiagnosticCategory ;
@@ -6460,6 +6468,18 @@ declare namespace ts {
6460
6468
key : string ;
6461
6469
message : string ;
6462
6470
} ;
6471
+ The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files : {
6472
+ code : number ;
6473
+ category : DiagnosticCategory ;
6474
+ key : string ;
6475
+ message : string ;
6476
+ } ;
6477
+ No_types_specified_in_package_json_but_allowJs_is_set_so_returning_main_value_of_0 : {
6478
+ code : number ;
6479
+ category : DiagnosticCategory ;
6480
+ key : string ;
6481
+ message : string ;
6482
+ } ;
6463
6483
Variable_0_implicitly_has_an_1_type : {
6464
6484
code : number ;
6465
6485
category : DiagnosticCategory ;
@@ -6793,6 +6813,7 @@ declare namespace ts {
6793
6813
scanJsxToken ( ) : SyntaxKind ;
6794
6814
scanJSDocToken ( ) : SyntaxKind ;
6795
6815
scan ( ) : SyntaxKind ;
6816
+ getText ( ) : string ;
6796
6817
setText ( text : string , start ?: number , length ?: number ) : void ;
6797
6818
setOnError ( onError : ErrorCallback ) : void ;
6798
6819
setScriptTarget ( scriptTarget : ScriptTarget ) : void ;
@@ -6815,6 +6836,7 @@ declare namespace ts {
6815
6836
} ;
6816
6837
function getLineAndCharacterOfPosition ( sourceFile : SourceFile , position : number ) : LineAndCharacter ;
6817
6838
function isWhiteSpace ( ch : number ) : boolean ;
6839
+ function isWhiteSpaceSingleLine ( ch : number ) : boolean ;
6818
6840
function isLineBreak ( ch : number ) : boolean ;
6819
6841
function isOctalDigit ( ch : number ) : boolean ;
6820
6842
function couldStartTrivia ( text : string , pos : number ) : boolean ;
@@ -6875,6 +6897,7 @@ declare namespace ts {
6875
6897
}
6876
6898
interface EmitHost extends ScriptReferenceHost {
6877
6899
getSourceFiles ( ) : SourceFile [ ] ;
6900
+ isSourceFileFromExternalLibrary ( file : SourceFile ) : boolean ;
6878
6901
getCommonSourceDirectory ( ) : string ;
6879
6902
getCanonicalFileName ( fileName : string ) : string ;
6880
6903
getNewLine ( ) : string ;
@@ -7341,6 +7364,7 @@ declare namespace ts.formatting {
7341
7364
readTokenInfo ( n : Node ) : TokenInfo ;
7342
7365
getCurrentLeadingTrivia ( ) : TextRangeWithKind [ ] ;
7343
7366
lastTrailingTriviaWasNewLine ( ) : boolean ;
7367
+ skipToEndOf ( node : Node ) : void ;
7344
7368
close ( ) : void ;
7345
7369
}
7346
7370
function getFormattingScanner ( sourceFile : SourceFile , startPos : number , endPos : number ) : FormattingScanner ;
@@ -7548,6 +7572,10 @@ declare namespace ts.formatting {
7548
7572
SpaceAfterTemplateHeadAndMiddle : Rule ;
7549
7573
NoSpaceBeforeTemplateMiddleAndTail : Rule ;
7550
7574
SpaceBeforeTemplateMiddleAndTail : Rule ;
7575
+ NoSpaceAfterOpenBraceInJsxExpression : Rule ;
7576
+ SpaceAfterOpenBraceInJsxExpression : Rule ;
7577
+ NoSpaceBeforeCloseBraceInJsxExpression : Rule ;
7578
+ SpaceBeforeCloseBraceInJsxExpression : Rule ;
7551
7579
constructor ( ) ;
7552
7580
static IsForContext ( context : FormattingContext ) : boolean ;
7553
7581
static IsNotForContext ( context : FormattingContext ) : boolean ;
@@ -7575,6 +7603,8 @@ declare namespace ts.formatting {
7575
7603
static IsNextTokenNotCloseBracket ( context : FormattingContext ) : boolean ;
7576
7604
static IsArrowFunctionContext ( context : FormattingContext ) : boolean ;
7577
7605
static IsNonJsxSameLineTokenContext ( context : FormattingContext ) : boolean ;
7606
+ static isNonJsxElementContext ( context : FormattingContext ) : boolean ;
7607
+ static isJsxExpressionContext ( context : FormattingContext ) : boolean ;
7578
7608
static IsNotBeforeBlockInFunctionDeclarationContext ( context : FormattingContext ) : boolean ;
7579
7609
static IsEndOfDecoratorContextOnSameLine ( context : FormattingContext ) : boolean ;
7580
7610
static NodeIsInDecoratorContext ( node : Node ) : boolean ;
@@ -7948,6 +7978,7 @@ declare namespace ts {
7948
7978
InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis : boolean ;
7949
7979
InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets : boolean ;
7950
7980
InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces : boolean ;
7981
+ InsertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces ?: boolean ;
7951
7982
PlaceOpenBraceOnNewLineForFunctions : boolean ;
7952
7983
PlaceOpenBraceOnNewLineForControlBlocks : boolean ;
7953
7984
[ s : string ] : boolean | number | string | undefined ;
@@ -8763,6 +8794,7 @@ declare namespace ts {
8763
8794
getDocCommentTemplateAtPosition ( fileName : string , position : number ) : string ;
8764
8795
isValidBraceCompletionAtPosition ( fileName : string , position : number , openingBrace : number ) : string ;
8765
8796
getEmitOutput ( fileName : string ) : string ;
8797
+ getEmitOutputObject ( fileName : string ) : EmitOutput ;
8766
8798
}
8767
8799
interface ClassifierShim extends Shim {
8768
8800
getEncodedLexicalClassifications ( text : string , lexState : EndOfLineState , syntacticClassifierAbsent ?: boolean ) : string ;
0 commit comments