@typescript-deploys/pr-build 5.3.0-pr-55567-2 → 5.3.0-pr-55442-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/tsc.js +42 -7
- package/lib/tsserver.js +42 -7
- package/lib/typescript.js +42 -7
- package/lib/typingsInstaller.js +2 -2
- package/package.json +2 -2
package/lib/tsc.js
CHANGED
|
@@ -4836,7 +4836,7 @@ var sys = (() => {
|
|
|
4836
4836
|
let activeSession;
|
|
4837
4837
|
let profilePath = "./profile.cpuprofile";
|
|
4838
4838
|
const Buffer = require("buffer").Buffer;
|
|
4839
|
-
const
|
|
4839
|
+
const isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
|
|
4840
4840
|
const platform = _os.platform();
|
|
4841
4841
|
const useCaseSensitiveFileNames2 = isFileSystemCaseSensitive();
|
|
4842
4842
|
const fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
|
|
@@ -4860,7 +4860,7 @@ var sys = (() => {
|
|
|
4860
4860
|
tscWatchFile: process.env.TSC_WATCHFILE,
|
|
4861
4861
|
useNonPollingWatchers: !!process.env.TSC_NONPOLLING_WATCHER,
|
|
4862
4862
|
tscWatchDirectory: process.env.TSC_WATCHDIRECTORY,
|
|
4863
|
-
inodeWatching:
|
|
4863
|
+
inodeWatching: isLinuxOrMacOs,
|
|
4864
4864
|
sysLog
|
|
4865
4865
|
});
|
|
4866
4866
|
const nodeSystem = {
|
|
@@ -48232,6 +48232,28 @@ function createTypeChecker(host) {
|
|
|
48232
48232
|
const propertyName = getPropertyNameNodeForSymbol(propertySymbol, context);
|
|
48233
48233
|
context.enclosingDeclaration = saveEnclosingDeclaration;
|
|
48234
48234
|
context.approximateLength += symbolName(propertySymbol).length + 1;
|
|
48235
|
+
if (propertySymbol.flags & 98304 /* Accessor */) {
|
|
48236
|
+
const writeType = getWriteTypeOfSymbol(propertySymbol);
|
|
48237
|
+
if (propertyType !== writeType) {
|
|
48238
|
+
const getterDeclaration = getDeclarationOfKind(propertySymbol, 177 /* GetAccessor */);
|
|
48239
|
+
const getterSignature = getSignatureFromDeclaration(getterDeclaration);
|
|
48240
|
+
typeElements.push(
|
|
48241
|
+
setCommentRange(
|
|
48242
|
+
signatureToSignatureDeclarationHelper(getterSignature, 177 /* GetAccessor */, context, { name: propertyName }),
|
|
48243
|
+
getterDeclaration
|
|
48244
|
+
)
|
|
48245
|
+
);
|
|
48246
|
+
const setterDeclaration = getDeclarationOfKind(propertySymbol, 178 /* SetAccessor */);
|
|
48247
|
+
const setterSignature = getSignatureFromDeclaration(setterDeclaration);
|
|
48248
|
+
typeElements.push(
|
|
48249
|
+
setCommentRange(
|
|
48250
|
+
signatureToSignatureDeclarationHelper(setterSignature, 178 /* SetAccessor */, context, { name: propertyName }),
|
|
48251
|
+
setterDeclaration
|
|
48252
|
+
)
|
|
48253
|
+
);
|
|
48254
|
+
return;
|
|
48255
|
+
}
|
|
48256
|
+
}
|
|
48235
48257
|
const optionalToken = propertySymbol.flags & 16777216 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0;
|
|
48236
48258
|
if (propertySymbol.flags & (16 /* Function */ | 8192 /* Method */) && !getPropertiesOfObjectType(propertyType).length && !isReadonlySymbol(propertySymbol)) {
|
|
48237
48259
|
const signatures = getSignaturesOfType(filterType(propertyType, (t) => !(t.flags & 32768 /* Undefined */)), 0 /* Call */);
|
|
@@ -48269,9 +48291,9 @@ function createTypeChecker(host) {
|
|
|
48269
48291
|
typeElements.push(preserveCommentsOn(propertySignature));
|
|
48270
48292
|
function preserveCommentsOn(node) {
|
|
48271
48293
|
var _a2;
|
|
48272
|
-
|
|
48273
|
-
|
|
48274
|
-
const commentText = getTextOfJSDocComment(
|
|
48294
|
+
const jsdocPropertyTag = (_a2 = propertySymbol.declarations) == null ? void 0 : _a2.find((d) => d.kind === 355 /* JSDocPropertyTag */);
|
|
48295
|
+
if (jsdocPropertyTag) {
|
|
48296
|
+
const commentText = getTextOfJSDocComment(jsdocPropertyTag.comment);
|
|
48275
48297
|
if (commentText) {
|
|
48276
48298
|
setSyntheticLeadingComments(node, [{ kind: 3 /* MultiLineCommentTrivia */, text: "*\n * " + commentText.replace(/\n/g, "\n * ") + "\n ", pos: -1, end: -1, hasTrailingNewLine: true }]);
|
|
48277
48299
|
}
|
|
@@ -50571,7 +50593,15 @@ function createTypeChecker(host) {
|
|
|
50571
50593
|
const ctxSrc = getSourceFileOfNode(context.enclosingDeclaration);
|
|
50572
50594
|
return getObjectFlags(typeToSerialize) & (16 /* Anonymous */ | 32 /* Mapped */) && !length(getIndexInfosOfType(typeToSerialize)) && !isClassInstanceSide(typeToSerialize) && // While a class instance is potentially representable as a NS, prefer printing a reference to the instance type and serializing the class
|
|
50573
50595
|
!!(length(filter(getPropertiesOfType(typeToSerialize), isNamespaceMember)) || length(getSignaturesOfType(typeToSerialize, 0 /* Call */))) && !length(getSignaturesOfType(typeToSerialize, 1 /* Construct */)) && // TODO: could probably serialize as function + ns + class, now that that's OK
|
|
50574
|
-
!getDeclarationWithTypeAnnotation(hostSymbol, enclosingDeclaration) && !(typeToSerialize.symbol && some(typeToSerialize.symbol.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && !some(getPropertiesOfType(typeToSerialize), (p) => isLateBoundName(p.escapedName)) && !some(getPropertiesOfType(typeToSerialize), (p) => some(p.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && every(getPropertiesOfType(typeToSerialize), (p) =>
|
|
50596
|
+
!getDeclarationWithTypeAnnotation(hostSymbol, enclosingDeclaration) && !(typeToSerialize.symbol && some(typeToSerialize.symbol.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && !some(getPropertiesOfType(typeToSerialize), (p) => isLateBoundName(p.escapedName)) && !some(getPropertiesOfType(typeToSerialize), (p) => some(p.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && every(getPropertiesOfType(typeToSerialize), (p) => {
|
|
50597
|
+
if (!isIdentifierText(symbolName(p), languageVersion)) {
|
|
50598
|
+
return false;
|
|
50599
|
+
}
|
|
50600
|
+
if (!(p.flags & 98304 /* Accessor */)) {
|
|
50601
|
+
return true;
|
|
50602
|
+
}
|
|
50603
|
+
return getNonMissingTypeOfSymbol(p) === getWriteTypeOfSymbol(p);
|
|
50604
|
+
});
|
|
50575
50605
|
}
|
|
50576
50606
|
function makeSerializePropertySymbol(createProperty2, methodKind, useAccessors) {
|
|
50577
50607
|
return function serializePropertySymbol(p, isStatic2, baseType) {
|
|
@@ -58443,7 +58473,12 @@ function createTypeChecker(host) {
|
|
|
58443
58473
|
function instantiateSymbol(symbol, mapper) {
|
|
58444
58474
|
const links = getSymbolLinks(symbol);
|
|
58445
58475
|
if (links.type && !couldContainTypeVariables(links.type)) {
|
|
58446
|
-
|
|
58476
|
+
if (!(symbol.flags & 65536 /* SetAccessor */)) {
|
|
58477
|
+
return symbol;
|
|
58478
|
+
}
|
|
58479
|
+
if (links.writeType && !couldContainTypeVariables(links.writeType)) {
|
|
58480
|
+
return symbol;
|
|
58481
|
+
}
|
|
58447
58482
|
}
|
|
58448
58483
|
if (getCheckFlags(symbol) & 1 /* Instantiated */) {
|
|
58449
58484
|
symbol = links.target;
|
package/lib/tsserver.js
CHANGED
|
@@ -8343,7 +8343,7 @@ var sys = (() => {
|
|
|
8343
8343
|
let activeSession;
|
|
8344
8344
|
let profilePath = "./profile.cpuprofile";
|
|
8345
8345
|
const Buffer2 = require("buffer").Buffer;
|
|
8346
|
-
const
|
|
8346
|
+
const isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
|
|
8347
8347
|
const platform = _os.platform();
|
|
8348
8348
|
const useCaseSensitiveFileNames2 = isFileSystemCaseSensitive();
|
|
8349
8349
|
const fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
|
|
@@ -8367,7 +8367,7 @@ var sys = (() => {
|
|
|
8367
8367
|
tscWatchFile: process.env.TSC_WATCHFILE,
|
|
8368
8368
|
useNonPollingWatchers: !!process.env.TSC_NONPOLLING_WATCHER,
|
|
8369
8369
|
tscWatchDirectory: process.env.TSC_WATCHDIRECTORY,
|
|
8370
|
-
inodeWatching:
|
|
8370
|
+
inodeWatching: isLinuxOrMacOs,
|
|
8371
8371
|
sysLog
|
|
8372
8372
|
});
|
|
8373
8373
|
const nodeSystem = {
|
|
@@ -52934,6 +52934,28 @@ function createTypeChecker(host) {
|
|
|
52934
52934
|
const propertyName = getPropertyNameNodeForSymbol(propertySymbol, context);
|
|
52935
52935
|
context.enclosingDeclaration = saveEnclosingDeclaration;
|
|
52936
52936
|
context.approximateLength += symbolName(propertySymbol).length + 1;
|
|
52937
|
+
if (propertySymbol.flags & 98304 /* Accessor */) {
|
|
52938
|
+
const writeType = getWriteTypeOfSymbol(propertySymbol);
|
|
52939
|
+
if (propertyType !== writeType) {
|
|
52940
|
+
const getterDeclaration = getDeclarationOfKind(propertySymbol, 177 /* GetAccessor */);
|
|
52941
|
+
const getterSignature = getSignatureFromDeclaration(getterDeclaration);
|
|
52942
|
+
typeElements.push(
|
|
52943
|
+
setCommentRange(
|
|
52944
|
+
signatureToSignatureDeclarationHelper(getterSignature, 177 /* GetAccessor */, context, { name: propertyName }),
|
|
52945
|
+
getterDeclaration
|
|
52946
|
+
)
|
|
52947
|
+
);
|
|
52948
|
+
const setterDeclaration = getDeclarationOfKind(propertySymbol, 178 /* SetAccessor */);
|
|
52949
|
+
const setterSignature = getSignatureFromDeclaration(setterDeclaration);
|
|
52950
|
+
typeElements.push(
|
|
52951
|
+
setCommentRange(
|
|
52952
|
+
signatureToSignatureDeclarationHelper(setterSignature, 178 /* SetAccessor */, context, { name: propertyName }),
|
|
52953
|
+
setterDeclaration
|
|
52954
|
+
)
|
|
52955
|
+
);
|
|
52956
|
+
return;
|
|
52957
|
+
}
|
|
52958
|
+
}
|
|
52937
52959
|
const optionalToken = propertySymbol.flags & 16777216 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0;
|
|
52938
52960
|
if (propertySymbol.flags & (16 /* Function */ | 8192 /* Method */) && !getPropertiesOfObjectType(propertyType).length && !isReadonlySymbol(propertySymbol)) {
|
|
52939
52961
|
const signatures = getSignaturesOfType(filterType(propertyType, (t) => !(t.flags & 32768 /* Undefined */)), 0 /* Call */);
|
|
@@ -52971,9 +52993,9 @@ function createTypeChecker(host) {
|
|
|
52971
52993
|
typeElements.push(preserveCommentsOn(propertySignature));
|
|
52972
52994
|
function preserveCommentsOn(node) {
|
|
52973
52995
|
var _a2;
|
|
52974
|
-
|
|
52975
|
-
|
|
52976
|
-
const commentText = getTextOfJSDocComment(
|
|
52996
|
+
const jsdocPropertyTag = (_a2 = propertySymbol.declarations) == null ? void 0 : _a2.find((d) => d.kind === 355 /* JSDocPropertyTag */);
|
|
52997
|
+
if (jsdocPropertyTag) {
|
|
52998
|
+
const commentText = getTextOfJSDocComment(jsdocPropertyTag.comment);
|
|
52977
52999
|
if (commentText) {
|
|
52978
53000
|
setSyntheticLeadingComments(node, [{ kind: 3 /* MultiLineCommentTrivia */, text: "*\n * " + commentText.replace(/\n/g, "\n * ") + "\n ", pos: -1, end: -1, hasTrailingNewLine: true }]);
|
|
52979
53001
|
}
|
|
@@ -55273,7 +55295,15 @@ function createTypeChecker(host) {
|
|
|
55273
55295
|
const ctxSrc = getSourceFileOfNode(context.enclosingDeclaration);
|
|
55274
55296
|
return getObjectFlags(typeToSerialize) & (16 /* Anonymous */ | 32 /* Mapped */) && !length(getIndexInfosOfType(typeToSerialize)) && !isClassInstanceSide(typeToSerialize) && // While a class instance is potentially representable as a NS, prefer printing a reference to the instance type and serializing the class
|
|
55275
55297
|
!!(length(filter(getPropertiesOfType(typeToSerialize), isNamespaceMember)) || length(getSignaturesOfType(typeToSerialize, 0 /* Call */))) && !length(getSignaturesOfType(typeToSerialize, 1 /* Construct */)) && // TODO: could probably serialize as function + ns + class, now that that's OK
|
|
55276
|
-
!getDeclarationWithTypeAnnotation(hostSymbol, enclosingDeclaration) && !(typeToSerialize.symbol && some(typeToSerialize.symbol.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && !some(getPropertiesOfType(typeToSerialize), (p) => isLateBoundName(p.escapedName)) && !some(getPropertiesOfType(typeToSerialize), (p) => some(p.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && every(getPropertiesOfType(typeToSerialize), (p) =>
|
|
55298
|
+
!getDeclarationWithTypeAnnotation(hostSymbol, enclosingDeclaration) && !(typeToSerialize.symbol && some(typeToSerialize.symbol.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && !some(getPropertiesOfType(typeToSerialize), (p) => isLateBoundName(p.escapedName)) && !some(getPropertiesOfType(typeToSerialize), (p) => some(p.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && every(getPropertiesOfType(typeToSerialize), (p) => {
|
|
55299
|
+
if (!isIdentifierText(symbolName(p), languageVersion)) {
|
|
55300
|
+
return false;
|
|
55301
|
+
}
|
|
55302
|
+
if (!(p.flags & 98304 /* Accessor */)) {
|
|
55303
|
+
return true;
|
|
55304
|
+
}
|
|
55305
|
+
return getNonMissingTypeOfSymbol(p) === getWriteTypeOfSymbol(p);
|
|
55306
|
+
});
|
|
55277
55307
|
}
|
|
55278
55308
|
function makeSerializePropertySymbol(createProperty2, methodKind, useAccessors) {
|
|
55279
55309
|
return function serializePropertySymbol(p, isStatic2, baseType) {
|
|
@@ -63145,7 +63175,12 @@ function createTypeChecker(host) {
|
|
|
63145
63175
|
function instantiateSymbol(symbol, mapper) {
|
|
63146
63176
|
const links = getSymbolLinks(symbol);
|
|
63147
63177
|
if (links.type && !couldContainTypeVariables(links.type)) {
|
|
63148
|
-
|
|
63178
|
+
if (!(symbol.flags & 65536 /* SetAccessor */)) {
|
|
63179
|
+
return symbol;
|
|
63180
|
+
}
|
|
63181
|
+
if (links.writeType && !couldContainTypeVariables(links.writeType)) {
|
|
63182
|
+
return symbol;
|
|
63183
|
+
}
|
|
63149
63184
|
}
|
|
63150
63185
|
if (getCheckFlags(symbol) & 1 /* Instantiated */) {
|
|
63151
63186
|
symbol = links.target;
|
package/lib/typescript.js
CHANGED
|
@@ -6115,7 +6115,7 @@ ${lanes.join("\n")}
|
|
|
6115
6115
|
let activeSession;
|
|
6116
6116
|
let profilePath = "./profile.cpuprofile";
|
|
6117
6117
|
const Buffer2 = require("buffer").Buffer;
|
|
6118
|
-
const
|
|
6118
|
+
const isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
|
|
6119
6119
|
const platform = _os.platform();
|
|
6120
6120
|
const useCaseSensitiveFileNames2 = isFileSystemCaseSensitive();
|
|
6121
6121
|
const fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
|
|
@@ -6139,7 +6139,7 @@ ${lanes.join("\n")}
|
|
|
6139
6139
|
tscWatchFile: process.env.TSC_WATCHFILE,
|
|
6140
6140
|
useNonPollingWatchers: !!process.env.TSC_NONPOLLING_WATCHER,
|
|
6141
6141
|
tscWatchDirectory: process.env.TSC_WATCHDIRECTORY,
|
|
6142
|
-
inodeWatching:
|
|
6142
|
+
inodeWatching: isLinuxOrMacOs,
|
|
6143
6143
|
sysLog
|
|
6144
6144
|
});
|
|
6145
6145
|
const nodeSystem = {
|
|
@@ -50701,6 +50701,28 @@ ${lanes.join("\n")}
|
|
|
50701
50701
|
const propertyName = getPropertyNameNodeForSymbol(propertySymbol, context);
|
|
50702
50702
|
context.enclosingDeclaration = saveEnclosingDeclaration;
|
|
50703
50703
|
context.approximateLength += symbolName(propertySymbol).length + 1;
|
|
50704
|
+
if (propertySymbol.flags & 98304 /* Accessor */) {
|
|
50705
|
+
const writeType = getWriteTypeOfSymbol(propertySymbol);
|
|
50706
|
+
if (propertyType !== writeType) {
|
|
50707
|
+
const getterDeclaration = getDeclarationOfKind(propertySymbol, 177 /* GetAccessor */);
|
|
50708
|
+
const getterSignature = getSignatureFromDeclaration(getterDeclaration);
|
|
50709
|
+
typeElements.push(
|
|
50710
|
+
setCommentRange(
|
|
50711
|
+
signatureToSignatureDeclarationHelper(getterSignature, 177 /* GetAccessor */, context, { name: propertyName }),
|
|
50712
|
+
getterDeclaration
|
|
50713
|
+
)
|
|
50714
|
+
);
|
|
50715
|
+
const setterDeclaration = getDeclarationOfKind(propertySymbol, 178 /* SetAccessor */);
|
|
50716
|
+
const setterSignature = getSignatureFromDeclaration(setterDeclaration);
|
|
50717
|
+
typeElements.push(
|
|
50718
|
+
setCommentRange(
|
|
50719
|
+
signatureToSignatureDeclarationHelper(setterSignature, 178 /* SetAccessor */, context, { name: propertyName }),
|
|
50720
|
+
setterDeclaration
|
|
50721
|
+
)
|
|
50722
|
+
);
|
|
50723
|
+
return;
|
|
50724
|
+
}
|
|
50725
|
+
}
|
|
50704
50726
|
const optionalToken = propertySymbol.flags & 16777216 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0;
|
|
50705
50727
|
if (propertySymbol.flags & (16 /* Function */ | 8192 /* Method */) && !getPropertiesOfObjectType(propertyType).length && !isReadonlySymbol(propertySymbol)) {
|
|
50706
50728
|
const signatures = getSignaturesOfType(filterType(propertyType, (t) => !(t.flags & 32768 /* Undefined */)), 0 /* Call */);
|
|
@@ -50738,9 +50760,9 @@ ${lanes.join("\n")}
|
|
|
50738
50760
|
typeElements.push(preserveCommentsOn(propertySignature));
|
|
50739
50761
|
function preserveCommentsOn(node) {
|
|
50740
50762
|
var _a2;
|
|
50741
|
-
|
|
50742
|
-
|
|
50743
|
-
const commentText = getTextOfJSDocComment(
|
|
50763
|
+
const jsdocPropertyTag = (_a2 = propertySymbol.declarations) == null ? void 0 : _a2.find((d) => d.kind === 355 /* JSDocPropertyTag */);
|
|
50764
|
+
if (jsdocPropertyTag) {
|
|
50765
|
+
const commentText = getTextOfJSDocComment(jsdocPropertyTag.comment);
|
|
50744
50766
|
if (commentText) {
|
|
50745
50767
|
setSyntheticLeadingComments(node, [{ kind: 3 /* MultiLineCommentTrivia */, text: "*\n * " + commentText.replace(/\n/g, "\n * ") + "\n ", pos: -1, end: -1, hasTrailingNewLine: true }]);
|
|
50746
50768
|
}
|
|
@@ -53040,7 +53062,15 @@ ${lanes.join("\n")}
|
|
|
53040
53062
|
const ctxSrc = getSourceFileOfNode(context.enclosingDeclaration);
|
|
53041
53063
|
return getObjectFlags(typeToSerialize) & (16 /* Anonymous */ | 32 /* Mapped */) && !length(getIndexInfosOfType(typeToSerialize)) && !isClassInstanceSide(typeToSerialize) && // While a class instance is potentially representable as a NS, prefer printing a reference to the instance type and serializing the class
|
|
53042
53064
|
!!(length(filter(getPropertiesOfType(typeToSerialize), isNamespaceMember)) || length(getSignaturesOfType(typeToSerialize, 0 /* Call */))) && !length(getSignaturesOfType(typeToSerialize, 1 /* Construct */)) && // TODO: could probably serialize as function + ns + class, now that that's OK
|
|
53043
|
-
!getDeclarationWithTypeAnnotation(hostSymbol, enclosingDeclaration) && !(typeToSerialize.symbol && some(typeToSerialize.symbol.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && !some(getPropertiesOfType(typeToSerialize), (p) => isLateBoundName(p.escapedName)) && !some(getPropertiesOfType(typeToSerialize), (p) => some(p.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && every(getPropertiesOfType(typeToSerialize), (p) =>
|
|
53065
|
+
!getDeclarationWithTypeAnnotation(hostSymbol, enclosingDeclaration) && !(typeToSerialize.symbol && some(typeToSerialize.symbol.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && !some(getPropertiesOfType(typeToSerialize), (p) => isLateBoundName(p.escapedName)) && !some(getPropertiesOfType(typeToSerialize), (p) => some(p.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && every(getPropertiesOfType(typeToSerialize), (p) => {
|
|
53066
|
+
if (!isIdentifierText(symbolName(p), languageVersion)) {
|
|
53067
|
+
return false;
|
|
53068
|
+
}
|
|
53069
|
+
if (!(p.flags & 98304 /* Accessor */)) {
|
|
53070
|
+
return true;
|
|
53071
|
+
}
|
|
53072
|
+
return getNonMissingTypeOfSymbol(p) === getWriteTypeOfSymbol(p);
|
|
53073
|
+
});
|
|
53044
53074
|
}
|
|
53045
53075
|
function makeSerializePropertySymbol(createProperty2, methodKind, useAccessors) {
|
|
53046
53076
|
return function serializePropertySymbol(p, isStatic2, baseType) {
|
|
@@ -60912,7 +60942,12 @@ ${lanes.join("\n")}
|
|
|
60912
60942
|
function instantiateSymbol(symbol, mapper) {
|
|
60913
60943
|
const links = getSymbolLinks(symbol);
|
|
60914
60944
|
if (links.type && !couldContainTypeVariables(links.type)) {
|
|
60915
|
-
|
|
60945
|
+
if (!(symbol.flags & 65536 /* SetAccessor */)) {
|
|
60946
|
+
return symbol;
|
|
60947
|
+
}
|
|
60948
|
+
if (links.writeType && !couldContainTypeVariables(links.writeType)) {
|
|
60949
|
+
return symbol;
|
|
60950
|
+
}
|
|
60916
60951
|
}
|
|
60917
60952
|
if (getCheckFlags(symbol) & 1 /* Instantiated */) {
|
|
60918
60953
|
symbol = links.target;
|
package/lib/typingsInstaller.js
CHANGED
|
@@ -4249,7 +4249,7 @@ var sys = (() => {
|
|
|
4249
4249
|
let activeSession;
|
|
4250
4250
|
let profilePath = "./profile.cpuprofile";
|
|
4251
4251
|
const Buffer2 = require("buffer").Buffer;
|
|
4252
|
-
const
|
|
4252
|
+
const isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
|
|
4253
4253
|
const platform = _os.platform();
|
|
4254
4254
|
const useCaseSensitiveFileNames2 = isFileSystemCaseSensitive();
|
|
4255
4255
|
const fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
|
|
@@ -4273,7 +4273,7 @@ var sys = (() => {
|
|
|
4273
4273
|
tscWatchFile: process.env.TSC_WATCHFILE,
|
|
4274
4274
|
useNonPollingWatchers: !!process.env.TSC_NONPOLLING_WATCHER,
|
|
4275
4275
|
tscWatchDirectory: process.env.TSC_WATCHDIRECTORY,
|
|
4276
|
-
inodeWatching:
|
|
4276
|
+
inodeWatching: isLinuxOrMacOs,
|
|
4277
4277
|
sysLog
|
|
4278
4278
|
});
|
|
4279
4279
|
const nodeSystem = {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@typescript-deploys/pr-build",
|
|
3
3
|
"author": "Microsoft Corp.",
|
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
|
5
|
-
"version": "5.3.0-pr-
|
|
5
|
+
"version": "5.3.0-pr-55442-5",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"node": "20.1.0",
|
|
114
114
|
"npm": "8.19.4"
|
|
115
115
|
},
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "e1fab87e45f6de3db89d9ba0334759fe01aee535"
|
|
117
117
|
}
|