Skip to content

Commit f393ae8

Browse files
committed
chore: update typescript to match algots and puyats packages
1 parent b8da12d commit f393ae8

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"rollup": "^4.24.0",
5656
"semantic-release": "^24.1.2",
5757
"tsx": "4.19.1",
58-
"typescript": "5.6.2",
58+
"typescript": "^5.7.2",
5959
"vitest": "2.1.2"
6060
},
6161
"peerDependencies": {
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
diff --git a/node_modules/typescript/lib/typescript.d.ts b/node_modules/typescript/lib/typescript.d.ts
2-
index 963c573..299a8a4 100644
2+
index 6780dd1..8700e72 100644
33
--- a/node_modules/typescript/lib/typescript.d.ts
44
+++ b/node_modules/typescript/lib/typescript.d.ts
5-
@@ -6116,6 +6116,7 @@ declare namespace ts {
5+
@@ -6159,6 +6159,7 @@ declare namespace ts {
66
getIndexInfoOfType(type: Type, kind: IndexKind): IndexInfo | undefined;
77
getIndexInfosOfType(type: Type): readonly IndexInfo[];
8-
getIndexInfosOfIndexSymbol: (indexSymbol: Symbol) => IndexInfo[];
8+
getIndexInfosOfIndexSymbol: (indexSymbol: Symbol, siblingSymbols?: Symbol[] | undefined) => IndexInfo[];
99
+ getTypeArgumentsForResolvedSignature(signature: Signature): readonly Type[] | undefined;
1010
getSignaturesOfType(type: Type, kind: SignatureKind): readonly Signature[];
1111
getIndexTypeOfType(type: Type, kind: IndexKind): Type | undefined;
1212
getBaseTypes(type: InterfaceType): BaseType[];
1313
diff --git a/node_modules/typescript/lib/typescript.js b/node_modules/typescript/lib/typescript.js
14-
index 90f3266..9daa319 100644
14+
index 33387ea..a1f35b3 100644
1515
--- a/node_modules/typescript/lib/typescript.js
1616
+++ b/node_modules/typescript/lib/typescript.js
17-
@@ -50171,6 +50171,7 @@ function createTypeChecker(host) {
17+
@@ -50655,6 +50655,7 @@ function createTypeChecker(host) {
1818
getGlobalDiagnostics,
1919
getRecursionIdentity,
2020
getUnmatchedProperties,
2121
+ getTypeArgumentsForResolvedSignature,
2222
getTypeOfSymbolAtLocation: (symbol, locationIn) => {
2323
const location = getParseTreeNode(locationIn);
2424
return location ? getTypeOfSymbolAtLocation(symbol, location) : errorType;
25-
@@ -92895,6 +92896,9 @@ function createTypeChecker(host) {
26-
Debug.assert(specifier && nodeIsSynthesized(specifier) && specifier.text === "tslib", `Expected sourceFile.imports[0] to be the synthesized tslib import`);
27-
return specifier;
25+
@@ -71776,6 +71777,9 @@ function createTypeChecker(host) {
26+
}
27+
}
2828
}
2929
+ function getTypeArgumentsForResolvedSignature(signature) {
3030
+ return signature.mapper && instantiateTypes((signature.target ?? signature).typeParameters ?? [], signature.mapper);
3131
+ }
32-
}
33-
function isNotAccessor(declaration) {
34-
return !isAccessor(declaration);
32+
function getUnmatchedProperty(source, target, requireOptionalProperties, matchDiscriminantProperties) {
33+
return firstOrUndefinedIterator(getUnmatchedProperties(source, target, requireOptionalProperties, matchDiscriminantProperties));
34+
}

0 commit comments

Comments
 (0)