@@ -352,17 +352,18 @@ declare namespace ts {
352
352
JSDocCallbackTag = 292 ,
353
353
JSDocParameterTag = 293 ,
354
354
JSDocReturnTag = 294 ,
355
- JSDocTypeTag = 295 ,
356
- JSDocTemplateTag = 296 ,
357
- JSDocTypedefTag = 297 ,
358
- JSDocPropertyTag = 298 ,
359
- SyntaxList = 299 ,
360
- NotEmittedStatement = 300 ,
361
- PartiallyEmittedExpression = 301 ,
362
- CommaListExpression = 302 ,
363
- MergeDeclarationMarker = 303 ,
364
- EndOfDeclarationMarker = 304 ,
365
- Count = 305 ,
355
+ JSDocThisTag = 295 ,
356
+ JSDocTypeTag = 296 ,
357
+ JSDocTemplateTag = 297 ,
358
+ JSDocTypedefTag = 298 ,
359
+ JSDocPropertyTag = 299 ,
360
+ SyntaxList = 300 ,
361
+ NotEmittedStatement = 301 ,
362
+ PartiallyEmittedExpression = 302 ,
363
+ CommaListExpression = 303 ,
364
+ MergeDeclarationMarker = 304 ,
365
+ EndOfDeclarationMarker = 305 ,
366
+ Count = 306 ,
366
367
FirstAssignment = 58 ,
367
368
LastAssignment = 70 ,
368
369
FirstCompoundAssignment = 59 ,
@@ -389,9 +390,9 @@ declare namespace ts {
389
390
LastBinaryOperator = 70 ,
390
391
FirstNode = 146 ,
391
392
FirstJSDocNode = 278 ,
392
- LastJSDocNode = 298 ,
393
+ LastJSDocNode = 299 ,
393
394
FirstJSDocTagNode = 289 ,
394
- LastJSDocTagNode = 298
395
+ LastJSDocTagNode = 299
395
396
}
396
397
enum NodeFlags {
397
398
None = 0 ,
@@ -1520,6 +1521,10 @@ declare namespace ts {
1520
1521
interface JSDocClassTag extends JSDocTag {
1521
1522
kind : SyntaxKind . JSDocClassTag ;
1522
1523
}
1524
+ interface JSDocThisTag extends JSDocTag {
1525
+ kind : SyntaxKind . JSDocThisTag ;
1526
+ typeExpression ?: JSDocTypeExpression ;
1527
+ }
1523
1528
interface JSDocTemplateTag extends JSDocTag {
1524
1529
kind : SyntaxKind . JSDocTemplateTag ;
1525
1530
typeParameters : NodeArray < TypeParameterDeclaration > ;
@@ -3203,6 +3208,8 @@ declare namespace ts {
3203
3208
function getJSDocAugmentsTag ( node : Node ) : JSDocAugmentsTag | undefined ;
3204
3209
/** Gets the JSDoc class tag for the node if present */
3205
3210
function getJSDocClassTag ( node : Node ) : JSDocClassTag | undefined ;
3211
+ /** Gets the JSDoc this tag for the node if present */
3212
+ function getJSDocThisTag ( node : Node ) : JSDocThisTag | undefined ;
3206
3213
/** Gets the JSDoc return tag for the node if present */
3207
3214
function getJSDocReturnTag ( node : Node ) : JSDocReturnTag | undefined ;
3208
3215
/** Gets the JSDoc template tag for the node if present */
@@ -3388,6 +3395,7 @@ declare namespace ts {
3388
3395
function isJSDoc ( node : Node ) : node is JSDoc ;
3389
3396
function isJSDocAugmentsTag ( node : Node ) : node is JSDocAugmentsTag ;
3390
3397
function isJSDocClassTag ( node : Node ) : node is JSDocClassTag ;
3398
+ function isJSDocThisTag ( node : Node ) : node is JSDocThisTag ;
3391
3399
function isJSDocParameterTag ( node : Node ) : node is JSDocParameterTag ;
3392
3400
function isJSDocReturnTag ( node : Node ) : node is JSDocReturnTag ;
3393
3401
function isJSDocTypeTag ( node : Node ) : node is JSDocTypeTag ;
@@ -5510,5 +5518,5 @@ declare namespace ts {
5510
5518
*/
5511
5519
function transform < T extends Node > ( source : T | T [ ] , transformers : TransformerFactory < T > [ ] , compilerOptions ?: CompilerOptions ) : TransformationResult < T > ;
5512
5520
}
5513
- //# sourceMappingURL=typescriptservices .d.ts.map
5521
+ //# sourceMappingURL=typescriptServices .d.ts.map
5514
5522
export = ts
0 commit comments