mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
443 B
Plaintext
12 lines
443 B
Plaintext
classDoesNotDependOnPrivateMember.ts(4,17): error TS2564: Property 'x' has no initializer and is not definitely assigned in the constructor.
|
|
|
|
|
|
==== classDoesNotDependOnPrivateMember.ts (1 errors) ====
|
|
namespace M {
|
|
interface I { }
|
|
export class C {
|
|
private x: I;
|
|
~
|
|
!!! error TS2564: Property 'x' has no initializer and is not definitely assigned in the constructor.
|
|
}
|
|
} |