10 lines
No EOL
236 B
Text
10 lines
No EOL
236 B
Text
==== tests/cases/compiler/raiseErrorOnParameterProperty.ts (1 errors) ====
|
|
class C1 {
|
|
constructor(public x: X) {
|
|
~
|
|
!!! Cannot find name 'X'.
|
|
}
|
|
}
|
|
var c1 = new C1(0);
|
|
|
|
|