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/assignmentToObjectAndFunction.errors.txt
+2-2
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ tests/cases/compiler/assignmentToObjectAndFunction.ts(8,5): error TS2322: Type '
5
5
Property 'apply' is missing in type '{}'.
6
6
tests/cases/compiler/assignmentToObjectAndFunction.ts(29,5): error TS2322: Type 'typeof bad' is not assignable to type 'Function'.
7
7
Types of property 'apply' are incompatible.
8
-
Type 'number' is not assignable to type '(thisArg: any, argArray?: any) => any'.
8
+
Type 'number' is not assignable to type '{ <T, U>(this: (this: T, ...argArray: any[]) => U, thisArg: T, argArray?: any): U; (this: Function, thisArg: any, argArray?: any): any; }'.
0 commit comments