You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/baselines/reference/recursiveTypeRelations.errors.txt
+8-1
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,12 @@
1
1
tests/cases/compiler/recursiveTypeRelations.ts(8,5): error TS2391: Function implementation is missing or not immediately following the declaration.
2
2
tests/cases/compiler/recursiveTypeRelations.ts(27,38): error TS2304: Cannot find name 'ClassNameObject'.
3
+
tests/cases/compiler/recursiveTypeRelations.ts(27,55): error TS2345: Argument of type '(obj: any, key: keyof S) => any' is not assignable to parameter of type '(previousValue: any, currentValue: string, currentIndex: number, array: string[]) => any'.
4
+
Types of parameters 'key' and 'currentValue' are incompatible.
5
+
Type 'string' is not assignable to type 'keyof S'.
3
6
tests/cases/compiler/recursiveTypeRelations.ts(27,61): error TS2304: Cannot find name 'ClassNameObject'.
!!! error TS2304: Cannot find name 'ClassNameObject'.
41
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42
+
!!! error TS2345: Argument of type '(obj: any, key: keyof S) => any' is not assignable to parameter of type '(previousValue: any, currentValue: string, currentIndex: number, array: string[]) => any'.
43
+
!!! error TS2345: Types of parameters 'key' and 'currentValue' are incompatible.
44
+
!!! error TS2345: Type 'string' is not assignable to type 'keyof S'.
38
45
~~~~~~~~~~~~~~~
39
46
!!! error TS2304: Cannot find name 'ClassNameObject'.
0 commit comments