mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
362 B
Plaintext
10 lines
362 B
Plaintext
abstractPropertyInitializer.ts(2,14): error TS1267: Property 'prop' cannot have an initializer because it is marked abstract.
|
|
|
|
|
|
==== abstractPropertyInitializer.ts (1 errors) ====
|
|
abstract class C {
|
|
abstract prop = 1
|
|
~~~~
|
|
!!! error TS1267: Property 'prop' cannot have an initializer because it is marked abstract.
|
|
}
|
|
|