TypeScript/tests/baselines/reference/constructorArgsErrors2.errors.txt
2014-09-11 16:11:08 -07:00

8 lines
260 B
Plaintext

==== tests/cases/compiler/constructorArgsErrors2.ts (1 errors) ====
class foo {
constructor (public static a: number) {
~~~~~~
!!! error TS1090: 'static' modifier cannot appear on a parameter.
}
}