@@ -290,7 +290,7 @@ var ts;
290290 // The following is baselined as a literal template type without intervention
291291 /** The version of the TypeScript compiler release */
292292 // eslint-disable-next-line @typescript-eslint/no-inferrable-types
293- ts.version = "4.2.3 ";
293+ ts.version = "4.2.4 ";
294294 /* @internal */
295295 var Comparison;
296296 (function (Comparison) {
@@ -7199,13 +7199,13 @@ var ts;
71997199 }
72007200 var activeSession;
72017201 var profilePath = "./profile.cpuprofile";
7202- var realpathSync = (_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync;
72037202 var Buffer = require("buffer").Buffer;
72047203 var nodeVersion = getNodeMajorVersion();
72057204 var isNode4OrLater = nodeVersion >= 4;
72067205 var isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
72077206 var platform = _os.platform();
72087207 var useCaseSensitiveFileNames = isFileSystemCaseSensitive();
7208+ var realpathSync = useCaseSensitiveFileNames ? ((_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync) : _fs.realpathSync;
72097209 var fsSupportsRecursiveFsWatch = isNode4OrLater && (process.platform === "win32" || process.platform === "darwin");
72107210 var getCurrentDirectory = ts.memoize(function () { return process.cwd(); });
72117211 var _c = createSystemWatchFunctions({
@@ -47177,7 +47177,9 @@ var ts;
4717747177 var result = new Type(checker, flags);
4717847178 typeCount++;
4717947179 result.id = typeCount;
47180- typeCatalog.push(result);
47180+ if (ts.tracing) {
47181+ typeCatalog.push(result);
47182+ }
4718147183 return result;
4718247184 }
4718347185 function createOriginType(flags) {
@@ -148988,7 +148990,7 @@ var ts;
148988148990 };
148989148991 SignatureObject.prototype.getJsDocTags = function () {
148990148992 if (this.jsDocTags === undefined) {
148991- this.jsDocTags = this.declaration ? getJsDocTags([ this.declaration] , this.checker) : [];
148993+ this.jsDocTags = this.declaration ? getJsDocTagsOfSignature( this.declaration, this.checker) : [];
148992148994 }
148993148995 return this.jsDocTags;
148994148996 };
@@ -149002,15 +149004,13 @@ var ts;
149002149004 function hasJSDocInheritDocTag(node) {
149003149005 return ts.getJSDocTags(node).some(function (tag) { return tag.tagName.text === "inheritDoc"; });
149004149006 }
149005- function getJsDocTags(declarations, checker) {
149006- var tags = ts.JsDoc.getJsDocTagsFromDeclarations(declarations);
149007- if (tags.length === 0 || declarations.some(hasJSDocInheritDocTag)) {
149008- ts.forEachUnique(declarations, function (declaration) {
149009- var inheritedTags = findBaseOfDeclaration(checker, declaration, function (symbol) { return symbol.getJsDocTags(); });
149010- if (inheritedTags) {
149011- tags = __spreadArray(__spreadArray([], inheritedTags), tags);
149012- }
149013- });
149007+ function getJsDocTagsOfSignature(declaration, checker) {
149008+ var tags = ts.JsDoc.getJsDocTagsFromDeclarations([declaration]);
149009+ if (tags.length === 0 || hasJSDocInheritDocTag(declaration)) {
149010+ 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; });
149011+ if (inheritedTags) {
149012+ tags = __spreadArray(__spreadArray([], inheritedTags), tags);
149013+ }
149014149014 }
149015149015 return tags;
149016149016 }
0 commit comments