|
1 | 1 | 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 |
3 | 3 | --- a/node_modules/typescript/lib/typescript.d.ts |
4 | 4 | +++ b/node_modules/typescript/lib/typescript.d.ts |
5 | | -@@ -6116,6 +6116,7 @@ declare namespace ts { |
| 5 | +@@ -6159,6 +6159,7 @@ declare namespace ts { |
6 | 6 | getIndexInfoOfType(type: Type, kind: IndexKind): IndexInfo | undefined; |
7 | 7 | getIndexInfosOfType(type: Type): readonly IndexInfo[]; |
8 | | - getIndexInfosOfIndexSymbol: (indexSymbol: Symbol) => IndexInfo[]; |
| 8 | + getIndexInfosOfIndexSymbol: (indexSymbol: Symbol, siblingSymbols?: Symbol[] | undefined) => IndexInfo[]; |
9 | 9 | + getTypeArgumentsForResolvedSignature(signature: Signature): readonly Type[] | undefined; |
10 | 10 | getSignaturesOfType(type: Type, kind: SignatureKind): readonly Signature[]; |
11 | 11 | getIndexTypeOfType(type: Type, kind: IndexKind): Type | undefined; |
12 | 12 | getBaseTypes(type: InterfaceType): BaseType[]; |
13 | 13 | 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 |
15 | 15 | --- a/node_modules/typescript/lib/typescript.js |
16 | 16 | +++ b/node_modules/typescript/lib/typescript.js |
17 | | -@@ -50171,6 +50171,7 @@ function createTypeChecker(host) { |
| 17 | +@@ -50655,6 +50655,7 @@ function createTypeChecker(host) { |
18 | 18 | getGlobalDiagnostics, |
19 | 19 | getRecursionIdentity, |
20 | 20 | getUnmatchedProperties, |
21 | 21 | + getTypeArgumentsForResolvedSignature, |
22 | 22 | getTypeOfSymbolAtLocation: (symbol, locationIn) => { |
23 | 23 | const location = getParseTreeNode(locationIn); |
24 | 24 | 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 | + } |
28 | 28 | } |
29 | 29 | + function getTypeArgumentsForResolvedSignature(signature) { |
30 | 30 | + return signature.mapper && instantiateTypes((signature.target ?? signature).typeParameters ?? [], signature.mapper); |
31 | 31 | + } |
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