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

8 lines
246 B
Plaintext
Raw Normal View History

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