TypeScript/tests/baselines/reference/constructorArgsErrors1.errors.txt

10 lines
361 B
Plaintext
Raw Normal View History

tests/cases/compiler/constructorArgsErrors1.ts(2,18): error TS1090: 'static' modifier cannot appear on a parameter.
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/constructorArgsErrors1.ts (1 errors) ====
class foo {
constructor (static a: number) {
~~~~~~
!!! error TS1090: 'static' modifier cannot appear on a parameter.
2014-07-13 01:04:16 +02:00
}
}