mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
491 B
Plaintext
14 lines
491 B
Plaintext
classExpressionWithResolutionOfNamespaceOfSameName01.ts(7,5): error TS2564: Property 'prop' has no initializer and is not definitely assigned in the constructor.
|
|
|
|
|
|
==== classExpressionWithResolutionOfNamespaceOfSameName01.ts (1 errors) ====
|
|
namespace C {
|
|
export interface type {
|
|
}
|
|
}
|
|
|
|
var x = class C {
|
|
prop: C.type;
|
|
~~~~
|
|
!!! error TS2564: Property 'prop' has no initializer and is not definitely assigned in the constructor.
|
|
} |