9 lines
No EOL
338 B
Text
9 lines
No EOL
338 B
Text
tests/cases/compiler/modifierOnParameter1.ts(2,16): error TS1090: 'declare' modifier cannot appear on a parameter.
|
|
|
|
|
|
==== tests/cases/compiler/modifierOnParameter1.ts (1 errors) ====
|
|
class C {
|
|
constructor(declare p) { }
|
|
~~~~~~~
|
|
!!! error TS1090: 'declare' modifier cannot appear on a parameter.
|
|
} |