5 lines
208 B
Plaintext
5 lines
208 B
Plaintext
==== tests/cases/compiler/ParameterList4.ts (1 errors) ====
|
|
function F(public A) {
|
|
~~~~~~~~
|
|
!!! error TS2369: A parameter property is only allowed in a constructor implementation.
|
|
} |