|
|
@ -293,7 +293,7 @@ var ts;
|
|
|
|
// The following is baselined as a literal template type without intervention
|
|
|
|
// The following is baselined as a literal template type without intervention
|
|
|
|
/** The version of the TypeScript compiler release */
|
|
|
|
/** The version of the TypeScript compiler release */
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
|
|
ts.version = "4.2.3";
|
|
|
|
ts.version = "4.2.4";
|
|
|
|
/* @internal */
|
|
|
|
/* @internal */
|
|
|
|
var Comparison;
|
|
|
|
var Comparison;
|
|
|
|
(function (Comparison) {
|
|
|
|
(function (Comparison) {
|
|
|
@ -46611,7 +46611,9 @@ var ts;
|
|
|
|
var result = new Type(checker, flags);
|
|
|
|
var result = new Type(checker, flags);
|
|
|
|
typeCount++;
|
|
|
|
typeCount++;
|
|
|
|
result.id = typeCount;
|
|
|
|
result.id = typeCount;
|
|
|
|
|
|
|
|
if (ts.tracing) {
|
|
|
|
typeCatalog.push(result);
|
|
|
|
typeCatalog.push(result);
|
|
|
|
|
|
|
|
}
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function createOriginType(flags) {
|
|
|
|
function createOriginType(flags) {
|
|
|
@ -148422,7 +148424,7 @@ var ts;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
SignatureObject.prototype.getJsDocTags = function () {
|
|
|
|
SignatureObject.prototype.getJsDocTags = function () {
|
|
|
|
if (this.jsDocTags === undefined) {
|
|
|
|
if (this.jsDocTags === undefined) {
|
|
|
|
this.jsDocTags = this.declaration ? getJsDocTags([this.declaration], this.checker) : [];
|
|
|
|
this.jsDocTags = this.declaration ? getJsDocTagsOfSignature(this.declaration, this.checker) : [];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return this.jsDocTags;
|
|
|
|
return this.jsDocTags;
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -148436,15 +148438,13 @@ var ts;
|
|
|
|
function hasJSDocInheritDocTag(node) {
|
|
|
|
function hasJSDocInheritDocTag(node) {
|
|
|
|
return ts.getJSDocTags(node).some(function (tag) { return tag.tagName.text === "inheritDoc"; });
|
|
|
|
return ts.getJSDocTags(node).some(function (tag) { return tag.tagName.text === "inheritDoc"; });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function getJsDocTags(declarations, checker) {
|
|
|
|
function getJsDocTagsOfSignature(declaration, checker) {
|
|
|
|
var tags = ts.JsDoc.getJsDocTagsFromDeclarations(declarations);
|
|
|
|
var tags = ts.JsDoc.getJsDocTagsFromDeclarations([declaration]);
|
|
|
|
if (tags.length === 0 || declarations.some(hasJSDocInheritDocTag)) {
|
|
|
|
if (tags.length === 0 || hasJSDocInheritDocTag(declaration)) {
|
|
|
|
ts.forEachUnique(declarations, function (declaration) {
|
|
|
|
var inheritedTags = findBaseOfDeclaration(checker, declaration, function (symbol) { var _a; return ((_a = symbol.declarations) === null || _a === void 0 ? void 0 : _a.length) === 1 ? symbol.getJsDocTags() : undefined; });
|
|
|
|
var inheritedTags = findBaseOfDeclaration(checker, declaration, function (symbol) { return symbol.getJsDocTags(); });
|
|
|
|
|
|
|
|
if (inheritedTags) {
|
|
|
|
if (inheritedTags) {
|
|
|
|
tags = __spreadArray(__spreadArray([], inheritedTags), tags);
|
|
|
|
tags = __spreadArray(__spreadArray([], inheritedTags), tags);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return tags;
|
|
|
|
return tags;
|
|
|
|
}
|
|
|
|
}
|
|
|
|