7 lines
226 B
Plaintext
7 lines
226 B
Plaintext
|
==== tests/cases/compiler/constructorArgsErrors1.ts (1 errors) ====
|
||
|
class foo {
|
||
|
constructor (static a: number) {
|
||
|
~~~~~~
|
||
|
!!! 'static' modifier cannot appear on a parameter.
|
||
|
}
|
||
|
}
|