@typescript-deploys/pr-build 5.5.0-pr-58321-4 → 5.5.0-pr-58321-7
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 +9 -1
- package/lib/typescript.js +9 -1
- package/package.json +1 -1
package/lib/tsc.js
CHANGED
|
@@ -73178,7 +73178,15 @@ function createTypeChecker(host) {
|
|
|
73178
73178
|
const mapper = inferenceContext && (restType && restType.flags & 262144 /* TypeParameter */ ? inferenceContext.nonFixingMapper : inferenceContext.mapper);
|
|
73179
73179
|
const sourceSignature = mapper ? instantiateSignature(contextualSignature, mapper) : contextualSignature;
|
|
73180
73180
|
applyToParameterTypes(sourceSignature, signature, (source, target) => {
|
|
73181
|
-
inferTypes(
|
|
73181
|
+
inferTypes(
|
|
73182
|
+
context.inferences,
|
|
73183
|
+
source,
|
|
73184
|
+
target,
|
|
73185
|
+
/*priority*/
|
|
73186
|
+
void 0,
|
|
73187
|
+
/*contravariant*/
|
|
73188
|
+
strictFunctionTypes
|
|
73189
|
+
);
|
|
73182
73190
|
});
|
|
73183
73191
|
if (!inferenceContext) {
|
|
73184
73192
|
applyToReturnTypes(contextualSignature, signature, (source, target) => {
|
package/lib/typescript.js
CHANGED
|
@@ -78007,7 +78007,15 @@ function createTypeChecker(host) {
|
|
|
78007
78007
|
const mapper = inferenceContext && (restType && restType.flags & 262144 /* TypeParameter */ ? inferenceContext.nonFixingMapper : inferenceContext.mapper);
|
|
78008
78008
|
const sourceSignature = mapper ? instantiateSignature(contextualSignature, mapper) : contextualSignature;
|
|
78009
78009
|
applyToParameterTypes(sourceSignature, signature, (source, target) => {
|
|
78010
|
-
inferTypes(
|
|
78010
|
+
inferTypes(
|
|
78011
|
+
context.inferences,
|
|
78012
|
+
source,
|
|
78013
|
+
target,
|
|
78014
|
+
/*priority*/
|
|
78015
|
+
void 0,
|
|
78016
|
+
/*contravariant*/
|
|
78017
|
+
strictFunctionTypes
|
|
78018
|
+
);
|
|
78011
78019
|
});
|
|
78012
78020
|
if (!inferenceContext) {
|
|
78013
78021
|
applyToReturnTypes(contextualSignature, signature, (source, target) => {
|
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.5.0-pr-58321-
|
|
5
|
+
"version": "5.5.0-pr-58321-7",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|