Files

10 lines
319 B
Plaintext

constructorArgsErrors1.ts(2,18): error TS1090: 'static' modifier cannot appear on a parameter.
==== constructorArgsErrors1.ts (1 errors) ====
class foo {
constructor (static a: number) {
~~~~~~
!!! error TS1090: 'static' modifier cannot appear on a parameter.
}
}