mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 04:43:37 -05:00
accept baselines
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 & {
|
||||
|
||||
@@ -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 & {
|
||||
|
||||
Reference in New Issue
Block a user