mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
35 lines
2.3 KiB
Diff
35 lines
2.3 KiB
Diff
--- old.inheritance1.errors.txt
|
|
+++ new.inheritance1.errors.txt
|
|
@@= skipped -3, +3 lines =@@
|
|
Property 'state' is missing in type 'Locations' but required in type 'SelectableControl'.
|
|
inheritance1.ts(31,1): error TS2741: Property 'select' is missing in type 'Control' but required in type 'Button'.
|
|
inheritance1.ts(37,1): error TS2741: Property 'select' is missing in type 'Control' but required in type 'TextBox'.
|
|
-inheritance1.ts(40,1): error TS2741: Property 'select' is missing in type 'Control' but required in type 'SelectableControl'.
|
|
-inheritance1.ts(46,1): error TS2741: Property 'select' is missing in type 'Control' but required in type 'SelectableControl'.
|
|
+inheritance1.ts(40,1): error TS2322: Type 'ImageBase' is not assignable to type 'SelectableControl'.
|
|
+ Property 'select' is missing in type 'Control' but required in type 'SelectableControl'.
|
|
+inheritance1.ts(46,1): error TS2322: Type 'Image1' is not assignable to type 'SelectableControl'.
|
|
+ Property 'select' is missing in type 'Control' but required in type 'SelectableControl'.
|
|
inheritance1.ts(52,1): error TS2741: Property 'state' is missing in type 'Locations' but required in type 'SelectableControl'.
|
|
inheritance1.ts(53,1): error TS2741: Property 'state' is missing in type 'Locations' but required in type 'Control'.
|
|
inheritance1.ts(55,1): error TS2741: Property 'select' is missing in type 'Control' but required in type 'Locations'.
|
|
@@= skipped -66, +68 lines =@@
|
|
declare var i: ImageBase;
|
|
sc = i;
|
|
~~
|
|
-!!! error TS2741: Property 'select' is missing in type 'Control' but required in type 'SelectableControl'.
|
|
+!!! error TS2322: Type 'ImageBase' is not assignable to type 'SelectableControl'.
|
|
+!!! error TS2322: Property 'select' is missing in type 'Control' but required in type 'SelectableControl'.
|
|
!!! related TS2728 inheritance1.ts:5:5: 'select' is declared here.
|
|
c = i;
|
|
i = sc;
|
|
@@= skipped -9, +10 lines =@@
|
|
declare var i1: Image1;
|
|
sc = i1;
|
|
~~
|
|
-!!! error TS2741: Property 'select' is missing in type 'Control' but required in type 'SelectableControl'.
|
|
+!!! error TS2322: Type 'Image1' is not assignable to type 'SelectableControl'.
|
|
+!!! error TS2322: Property 'select' is missing in type 'Control' but required in type 'SelectableControl'.
|
|
!!! related TS2728 inheritance1.ts:5:5: 'select' is declared here.
|
|
c = i1;
|
|
i1 = sc;
|