7 lines
240 B
Text
7 lines
240 B
Text
|
==== tests/cases/compiler/ParameterList6.ts (1 errors) ====
|
||
|
class C {
|
||
|
constructor(C: (public A) => any) {
|
||
|
~~~~~~~~
|
||
|
!!! A parameter property is only allowed in a constructor implementation.
|
||
|
}
|
||
|
}
|