@typescript-deploys/pr-build 5.3.0-pr-55856-6 → 5.3.0-pr-55864-6
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 +2 -2
- package/lib/tsserver.js +2 -2
- package/lib/typescript.d.ts +1 -1
- package/lib/typescript.js +2 -2
- package/package.json +2 -2
package/lib/tsc.js
CHANGED
|
@@ -57626,7 +57626,7 @@ function createTypeChecker(host) {
|
|
|
57626
57626
|
return !!(type.flags & (1 /* Any */ | 4 /* String */ | 8 /* Number */ | 64 /* BigInt */)) || isPatternLiteralType(type);
|
|
57627
57627
|
}
|
|
57628
57628
|
function isPatternLiteralType(type) {
|
|
57629
|
-
return !!(type.flags & 134217728 /* TemplateLiteral */) && every(type.types, isPatternLiteralPlaceholderType) || !!(type.flags & 268435456 /* StringMapping */) &&
|
|
57629
|
+
return !!(type.flags & 134217728 /* TemplateLiteral */) && every(type.types, isPatternLiteralPlaceholderType) || !!(type.flags & 268435456 /* StringMapping */) && isPatternLiteralPlaceholderType(type.type);
|
|
57630
57630
|
}
|
|
57631
57631
|
function isGenericType(type) {
|
|
57632
57632
|
return !!getGenericObjectFlags(type);
|
|
@@ -62046,7 +62046,7 @@ function createTypeChecker(host) {
|
|
|
62046
62046
|
sourceSignatures[i],
|
|
62047
62047
|
targetSignatures[i],
|
|
62048
62048
|
/*erase*/
|
|
62049
|
-
|
|
62049
|
+
!inVarianceComputation,
|
|
62050
62050
|
reportErrors2,
|
|
62051
62051
|
intersectionState,
|
|
62052
62052
|
incompatibleReporter(sourceSignatures[i], targetSignatures[i])
|
package/lib/tsserver.js
CHANGED
|
@@ -62330,7 +62330,7 @@ function createTypeChecker(host) {
|
|
|
62330
62330
|
return !!(type.flags & (1 /* Any */ | 4 /* String */ | 8 /* Number */ | 64 /* BigInt */)) || isPatternLiteralType(type);
|
|
62331
62331
|
}
|
|
62332
62332
|
function isPatternLiteralType(type) {
|
|
62333
|
-
return !!(type.flags & 134217728 /* TemplateLiteral */) && every(type.types, isPatternLiteralPlaceholderType) || !!(type.flags & 268435456 /* StringMapping */) &&
|
|
62333
|
+
return !!(type.flags & 134217728 /* TemplateLiteral */) && every(type.types, isPatternLiteralPlaceholderType) || !!(type.flags & 268435456 /* StringMapping */) && isPatternLiteralPlaceholderType(type.type);
|
|
62334
62334
|
}
|
|
62335
62335
|
function isGenericType(type) {
|
|
62336
62336
|
return !!getGenericObjectFlags(type);
|
|
@@ -66750,7 +66750,7 @@ function createTypeChecker(host) {
|
|
|
66750
66750
|
sourceSignatures[i],
|
|
66751
66751
|
targetSignatures[i],
|
|
66752
66752
|
/*erase*/
|
|
66753
|
-
|
|
66753
|
+
!inVarianceComputation,
|
|
66754
66754
|
reportErrors2,
|
|
66755
66755
|
intersectionState,
|
|
66756
66756
|
incompatibleReporter(sourceSignatures[i], targetSignatures[i])
|
package/lib/typescript.d.ts
CHANGED
|
@@ -4889,7 +4889,7 @@ declare namespace ts {
|
|
|
4889
4889
|
type HasExpressionInitializer = VariableDeclaration | ParameterDeclaration | BindingElement | PropertyDeclaration | PropertyAssignment | EnumMember;
|
|
4890
4890
|
type HasDecorators = ParameterDeclaration | PropertyDeclaration | MethodDeclaration | GetAccessorDeclaration | SetAccessorDeclaration | ClassExpression | ClassDeclaration;
|
|
4891
4891
|
type HasModifiers = TypeParameterDeclaration | ParameterDeclaration | ConstructorTypeNode | PropertySignature | PropertyDeclaration | MethodSignature | MethodDeclaration | ConstructorDeclaration | GetAccessorDeclaration | SetAccessorDeclaration | IndexSignatureDeclaration | FunctionExpression | ArrowFunction | ClassExpression | VariableStatement | FunctionDeclaration | ClassDeclaration | InterfaceDeclaration | TypeAliasDeclaration | EnumDeclaration | ModuleDeclaration | ImportEqualsDeclaration | ImportDeclaration | ExportAssignment | ExportDeclaration;
|
|
4892
|
-
interface NodeArray<T extends Node> extends ReadonlyArray<T>, ReadonlyTextRange {
|
|
4892
|
+
interface NodeArray<out T extends Node> extends ReadonlyArray<T>, ReadonlyTextRange {
|
|
4893
4893
|
readonly hasTrailingComma: boolean;
|
|
4894
4894
|
}
|
|
4895
4895
|
interface Token<TKind extends SyntaxKind> extends Node {
|
package/lib/typescript.js
CHANGED
|
@@ -60097,7 +60097,7 @@ ${lanes.join("\n")}
|
|
|
60097
60097
|
return !!(type.flags & (1 /* Any */ | 4 /* String */ | 8 /* Number */ | 64 /* BigInt */)) || isPatternLiteralType(type);
|
|
60098
60098
|
}
|
|
60099
60099
|
function isPatternLiteralType(type) {
|
|
60100
|
-
return !!(type.flags & 134217728 /* TemplateLiteral */) && every(type.types, isPatternLiteralPlaceholderType) || !!(type.flags & 268435456 /* StringMapping */) &&
|
|
60100
|
+
return !!(type.flags & 134217728 /* TemplateLiteral */) && every(type.types, isPatternLiteralPlaceholderType) || !!(type.flags & 268435456 /* StringMapping */) && isPatternLiteralPlaceholderType(type.type);
|
|
60101
60101
|
}
|
|
60102
60102
|
function isGenericType(type) {
|
|
60103
60103
|
return !!getGenericObjectFlags(type);
|
|
@@ -64517,7 +64517,7 @@ ${lanes.join("\n")}
|
|
|
64517
64517
|
sourceSignatures[i],
|
|
64518
64518
|
targetSignatures[i],
|
|
64519
64519
|
/*erase*/
|
|
64520
|
-
|
|
64520
|
+
!inVarianceComputation,
|
|
64521
64521
|
reportErrors2,
|
|
64522
64522
|
intersectionState,
|
|
64523
64523
|
incompatibleReporter(sourceSignatures[i], targetSignatures[i])
|
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-55864-6",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"node": "20.1.0",
|
|
115
115
|
"npm": "8.19.4"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "2d229333d4afa6a51e086439673f3e13dd99e440"
|
|
118
118
|
}
|