TypeScript/tests/baselines/reference/ParameterList6.errors.txt
2014-09-11 16:11:08 -07:00

7 lines
254 B
Plaintext

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