8 lines
No EOL
246 B
Text
8 lines
No EOL
246 B
Text
==== tests/cases/compiler/constructorArgsErrors2.ts (1 errors) ====
|
|
class foo {
|
|
constructor (public static a: number) {
|
|
~~~~~~
|
|
!!! 'static' modifier cannot appear on a parameter.
|
|
}
|
|
}
|
|
|