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

7 lines
226 B
Plaintext
Raw Normal View History

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