accept baselines

This commit is contained in:
Arthur Ozga
2017-10-06 14:27:32 -07:00
parent 5ea3ca4ef9
commit fbf8df66f0
3 changed files with 10 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ function getAllTags(node: ts.Node) {
function getSomeOtherTags(node: ts.Node) {
const tags: (ts.JSDocTag | undefined)[] = [];
tags.push(ts.getJSDocAugmentsOrExtendsTag(node));
tags.push(ts.getJSDocAugmentsTag(node));
tags.push(ts.getJSDocClassTag(node));
tags.push(ts.getJSDocReturnTag(node));
const type = ts.getJSDocTypeTag(node);
@@ -200,7 +200,7 @@ function getAllTags(node) {
}
function getSomeOtherTags(node) {
var tags = [];
tags.push(ts.getJSDocAugmentsOrExtendsTag(node));
tags.push(ts.getJSDocAugmentsTag(node));
tags.push(ts.getJSDocClassTag(node));
tags.push(ts.getJSDocReturnTag(node));
var type = ts.getJSDocTypeTag(node);

View File

@@ -1442,6 +1442,10 @@ declare namespace ts {
interface JSDocUnknownTag extends JSDocTag {
kind: SyntaxKind.JSDocTag;
}
/**
* Note that `@extends` is a synonym of `@augments`.
* Both tags are represented by this interface.
*/
interface JSDocAugmentsTag extends JSDocTag {
kind: SyntaxKind.JSDocAugmentsTag;
class: ExpressionWithTypeArguments & {

View File

@@ -1442,6 +1442,10 @@ declare namespace ts {
interface JSDocUnknownTag extends JSDocTag {
kind: SyntaxKind.JSDocTag;
}
/**
* Note that `@extends` is a synonym of `@augments`.
* Both tags are represented by this interface.
*/
interface JSDocAugmentsTag extends JSDocTag {
kind: SyntaxKind.JSDocAugmentsTag;
class: ExpressionWithTypeArguments & {