mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
35 lines
2.9 KiB
Diff
35 lines
2.9 KiB
Diff
--- old.assignmentCompatability_checking-apply-member-off-of-function-interface.errors.txt
|
|
+++ new.assignmentCompatability_checking-apply-member-off-of-function-interface.errors.txt
|
|
@@= skipped -2, +2 lines =@@
|
|
assignmentCompatability_checking-apply-member-off-of-function-interface.ts(12,1): error TS2322: Type 'number' is not assignable to type 'Applicable'.
|
|
assignmentCompatability_checking-apply-member-off-of-function-interface.ts(13,1): error TS2741: Property 'apply' is missing in type '{}' but required in type 'Applicable'.
|
|
assignmentCompatability_checking-apply-member-off-of-function-interface.ts(22,4): error TS2345: Argument of type 'string' is not assignable to parameter of type 'Applicable'.
|
|
-assignmentCompatability_checking-apply-member-off-of-function-interface.ts(23,4): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'Applicable'.
|
|
- Property 'apply' is missing in type 'string[]' but required in type 'Applicable'.
|
|
+assignmentCompatability_checking-apply-member-off-of-function-interface.ts(23,4): error TS2741: Property 'apply' is missing in type 'string[]' but required in type 'Applicable'.
|
|
assignmentCompatability_checking-apply-member-off-of-function-interface.ts(24,4): error TS2345: Argument of type 'number' is not assignable to parameter of type 'Applicable'.
|
|
-assignmentCompatability_checking-apply-member-off-of-function-interface.ts(25,4): error TS2345: Argument of type '{}' is not assignable to parameter of type 'Applicable'.
|
|
- Property 'apply' is missing in type '{}' but required in type 'Applicable'.
|
|
+assignmentCompatability_checking-apply-member-off-of-function-interface.ts(25,4): error TS2741: Property 'apply' is missing in type '{}' but required in type 'Applicable'.
|
|
|
|
|
|
==== assignmentCompatability_checking-apply-member-off-of-function-interface.ts (8 errors) ====
|
|
@@= skipped -44, +42 lines =@@
|
|
!!! error TS2345: Argument of type 'string' is not assignable to parameter of type 'Applicable'.
|
|
fn(['']);
|
|
~~~~
|
|
-!!! error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'Applicable'.
|
|
-!!! error TS2345: Property 'apply' is missing in type 'string[]' but required in type 'Applicable'.
|
|
+!!! error TS2741: Property 'apply' is missing in type 'string[]' but required in type 'Applicable'.
|
|
!!! related TS2728 assignmentCompatability_checking-apply-member-off-of-function-interface.ts:4:5: 'apply' is declared here.
|
|
fn(4);
|
|
~
|
|
!!! error TS2345: Argument of type 'number' is not assignable to parameter of type 'Applicable'.
|
|
fn({});
|
|
~~
|
|
-!!! error TS2345: Argument of type '{}' is not assignable to parameter of type 'Applicable'.
|
|
-!!! error TS2345: Property 'apply' is missing in type '{}' but required in type 'Applicable'.
|
|
+!!! error TS2741: Property 'apply' is missing in type '{}' but required in type 'Applicable'.
|
|
!!! related TS2728 assignmentCompatability_checking-apply-member-off-of-function-interface.ts:4:5: 'apply' is declared here.
|
|
|
|
|