* Relate non-augmenting array subtypes without resorting to structural comparison
* Fix lint
* Generalize performance enhancement
* Cache results, feed through via getNormalizedType to remove error intermediates
* Use newly freed up object flags to limit member setting, fix crash with those object flags
* Move flags because there is no TypeFlags.Reference 🤦
14 lines
655 B
Plaintext
14 lines
655 B
Plaintext
tests/cases/conformance/classes/members/privateNames/privateNamesUnique-4.ts(6,7): error TS2741: Property '#something' is missing in type 'A1' but required in type 'C'.
|
|
|
|
|
|
==== tests/cases/conformance/classes/members/privateNames/privateNamesUnique-4.ts (1 errors) ====
|
|
class A1 { }
|
|
interface A2 extends A1 { }
|
|
declare const a: A2;
|
|
|
|
class C { #something: number }
|
|
const c: C = a;
|
|
~
|
|
!!! error TS2741: Property '#something' is missing in type 'A1' but required in type 'C'.
|
|
!!! related TS2728 tests/cases/conformance/classes/members/privateNames/privateNamesUnique-4.ts:5:11: '#something' is declared here.
|
|
|