mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
1.1 KiB
Diff
19 lines
1.1 KiB
Diff
--- old.privateNamesUnique-4.errors.txt
|
|
+++ new.privateNamesUnique-4.errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
privateNamesUnique-4.ts(5,11): error TS2564: Property '#something' has no initializer and is not definitely assigned in the constructor.
|
|
-privateNamesUnique-4.ts(6,7): error TS2741: Property '#something' is missing in type 'A1' but required in type 'C'.
|
|
+privateNamesUnique-4.ts(6,7): error TS2322: Type 'A2' is not assignable to type 'C'.
|
|
+ Property '#something' is missing in type 'A1' but required in type 'C'.
|
|
|
|
|
|
==== privateNamesUnique-4.ts (2 errors) ====
|
|
@@= skipped -11, +12 lines =@@
|
|
!!! error TS2564: Property '#something' has no initializer and is not definitely assigned in the constructor.
|
|
const c: C = a;
|
|
~
|
|
-!!! error TS2741: Property '#something' is missing in type 'A1' but required in type 'C'.
|
|
+!!! error TS2322: Type 'A2' is not assignable to type 'C'.
|
|
+!!! error TS2322: Property '#something' is missing in type 'A1' but required in type 'C'.
|
|
!!! related TS2728 privateNamesUnique-4.ts:5:11: '#something' is declared here.
|
|
|