11 lines
381 B
Plaintext
11 lines
381 B
Plaintext
tests/cases/compiler/constructorArgsErrors2.ts(2,25): error TS1090: 'static' modifier cannot appear on a parameter.
|
|
|
|
|
|
==== tests/cases/compiler/constructorArgsErrors2.ts (1 errors) ====
|
|
class foo {
|
|
constructor (public static a: number) {
|
|
~~~~~~
|
|
!!! error TS1090: 'static' modifier cannot appear on a parameter.
|
|
}
|
|
}
|
|
|