6 lines
209 B
Text
6 lines
209 B
Text
|
==== tests/cases/compiler/ParameterList13.ts (1 errors) ====
|
||
|
interface I {
|
||
|
new (public x);
|
||
|
~~~~~~~~
|
||
|
!!! A parameter property is only allowed in a constructor implementation.
|
||
|
}
|