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

7 lines
297 B
Plaintext

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