mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
450 B
Plaintext
14 lines
450 B
Plaintext
classExpressions.ts(3,5): error TS2564: Property 'prop' has no initializer and is not definitely assigned in the constructor.
|
|
|
|
|
|
==== classExpressions.ts (1 errors) ====
|
|
interface A {}
|
|
let x = class B implements A {
|
|
prop: number;
|
|
~~~~
|
|
!!! error TS2564: Property 'prop' has no initializer and is not definitely assigned in the constructor.
|
|
onStart(): void {
|
|
}
|
|
func = () => {
|
|
}
|
|
}; |