@@ -385,28 +385,29 @@ declare namespace ts {
385
385
JSDocAugmentsTag = 307 ,
386
386
JSDocImplementsTag = 308 ,
387
387
JSDocAuthorTag = 309 ,
388
- JSDocClassTag = 310 ,
389
- JSDocPublicTag = 311 ,
390
- JSDocPrivateTag = 312 ,
391
- JSDocProtectedTag = 313 ,
392
- JSDocReadonlyTag = 314 ,
393
- JSDocCallbackTag = 315 ,
394
- JSDocEnumTag = 316 ,
395
- JSDocParameterTag = 317 ,
396
- JSDocReturnTag = 318 ,
397
- JSDocThisTag = 319 ,
398
- JSDocTypeTag = 320 ,
399
- JSDocTemplateTag = 321 ,
400
- JSDocTypedefTag = 322 ,
401
- JSDocPropertyTag = 323 ,
402
- SyntaxList = 324 ,
403
- NotEmittedStatement = 325 ,
404
- PartiallyEmittedExpression = 326 ,
405
- CommaListExpression = 327 ,
406
- MergeDeclarationMarker = 328 ,
407
- EndOfDeclarationMarker = 329 ,
408
- SyntheticReferenceExpression = 330 ,
409
- Count = 331 ,
388
+ JSDocDeprecatedTag = 310 ,
389
+ JSDocClassTag = 311 ,
390
+ JSDocPublicTag = 312 ,
391
+ JSDocPrivateTag = 313 ,
392
+ JSDocProtectedTag = 314 ,
393
+ JSDocReadonlyTag = 315 ,
394
+ JSDocCallbackTag = 316 ,
395
+ JSDocEnumTag = 317 ,
396
+ JSDocParameterTag = 318 ,
397
+ JSDocReturnTag = 319 ,
398
+ JSDocThisTag = 320 ,
399
+ JSDocTypeTag = 321 ,
400
+ JSDocTemplateTag = 322 ,
401
+ JSDocTypedefTag = 323 ,
402
+ JSDocPropertyTag = 324 ,
403
+ SyntaxList = 325 ,
404
+ NotEmittedStatement = 326 ,
405
+ PartiallyEmittedExpression = 327 ,
406
+ CommaListExpression = 328 ,
407
+ MergeDeclarationMarker = 329 ,
408
+ EndOfDeclarationMarker = 330 ,
409
+ SyntheticReferenceExpression = 331 ,
410
+ Count = 332 ,
410
411
FirstAssignment = 62 ,
411
412
LastAssignment = 74 ,
412
413
FirstCompoundAssignment = 63 ,
@@ -435,9 +436,9 @@ declare namespace ts {
435
436
LastStatement = 241 ,
436
437
FirstNode = 153 ,
437
438
FirstJSDocNode = 294 ,
438
- LastJSDocNode = 323 ,
439
+ LastJSDocNode = 324 ,
439
440
FirstJSDocTagNode = 306 ,
440
- LastJSDocTagNode = 323 ,
441
+ LastJSDocTagNode = 324 ,
441
442
}
442
443
export enum NodeFlags {
443
444
None = 0 ,
@@ -1649,6 +1650,9 @@ declare namespace ts {
1649
1650
export interface JSDocAuthorTag extends JSDocTag {
1650
1651
kind : SyntaxKind . JSDocAuthorTag ;
1651
1652
}
1653
+ export interface JSDocDeprecatedTag extends JSDocTag {
1654
+ kind : SyntaxKind . JSDocDeprecatedTag ;
1655
+ }
1652
1656
export interface JSDocClassTag extends JSDocTag {
1653
1657
kind : SyntaxKind . JSDocClassTag ;
1654
1658
}
@@ -3546,6 +3550,8 @@ declare namespace ts {
3546
3550
function getJSDocReturnTag ( node : Node ) : JSDocReturnTag | undefined ;
3547
3551
/** Gets the JSDoc template tag for the node if present */
3548
3552
function getJSDocTemplateTag ( node : Node ) : JSDocTemplateTag | undefined ;
3553
+ /** Gets the JSDoc deprecated tag for the node if present */
3554
+ function getJSDocDeprecatedTag ( node : Node ) : JSDocDeprecatedTag | undefined ;
3549
3555
/** Gets the JSDoc type tag for the node if present and valid */
3550
3556
function getJSDocTypeTag ( node : Node ) : JSDocTypeTag | undefined ;
3551
3557
/**
@@ -3760,6 +3766,7 @@ declare namespace ts {
3760
3766
function isJSDocReturnTag ( node : Node ) : node is JSDocReturnTag ;
3761
3767
function isJSDocTypeTag ( node : Node ) : node is JSDocTypeTag ;
3762
3768
function isJSDocTemplateTag ( node : Node ) : node is JSDocTemplateTag ;
3769
+ function isJSDocDeprecatedTag ( node : Node ) : node is JSDocDeprecatedTag ;
3763
3770
function isJSDocTypedefTag ( node : Node ) : node is JSDocTypedefTag ;
3764
3771
function isJSDocPropertyTag ( node : Node ) : node is JSDocPropertyTag ;
3765
3772
function isJSDocPropertyLikeTag ( node : Node ) : node is JSDocPropertyLikeTag ;
@@ -4270,6 +4277,7 @@ declare namespace ts {
4270
4277
function createJSDocTypeLiteral ( jsDocPropertyTags ?: readonly JSDocPropertyLikeTag [ ] , isArrayType ?: boolean ) : JSDocTypeLiteral ;
4271
4278
function createJSDocImplementsTag ( classExpression : JSDocImplementsTag [ "class" ] , comment ?: string ) : JSDocImplementsTag ;
4272
4279
function createJSDocAuthorTag ( comment ?: string ) : JSDocTag ;
4280
+ function createJSDocDeprecatedTag ( comment ?: string ) : JSDocTag ;
4273
4281
function createJSDocPublicTag ( ) : JSDocTag ;
4274
4282
function createJSDocPrivateTag ( ) : JSDocTag ;
4275
4283
function createJSDocProtectedTag ( ) : JSDocTag ;
@@ -5585,6 +5593,7 @@ declare namespace ts {
5585
5593
textSpan : TextSpan ;
5586
5594
containerName : string ;
5587
5595
containerKind : ScriptElementKind ;
5596
+ isDeprecated : boolean ;
5588
5597
}
5589
5598
enum IndentStyle {
5590
5599
None = 0 ,
@@ -8380,6 +8389,9 @@ declare namespace ts.server.protocol {
8380
8389
command : CommandTypes . Navto ;
8381
8390
arguments : NavtoRequestArgs ;
8382
8391
}
8392
+ enum SymbolTag {
8393
+ Deprecated = 1
8394
+ }
8383
8395
/**
8384
8396
* An item found in a navto response.
8385
8397
*/
@@ -8413,6 +8425,10 @@ declare namespace ts.server.protocol {
8413
8425
* Kind of symbol's container symbol (if any).
8414
8426
*/
8415
8427
containerKind ?: ScriptElementKind ;
8428
+ /**
8429
+ * The symbol's tag.
8430
+ */
8431
+ tags ?: SymbolTag [ ] ;
8416
8432
}
8417
8433
/**
8418
8434
* Navto response message. Body is an array of navto items. Each
0 commit comments