TypeScript/tests/baselines/reference/parameterPropertyOutsideConstructor.errors.txt
2014-07-12 17:30:19 -07:00

7 lines
235 B
Plaintext

==== tests/cases/compiler/parameterPropertyOutsideConstructor.ts (1 errors) ====
class C {
foo(public x) {
~~~~~~~~
!!! A parameter property is only allowed in a constructor implementation.
}
}