13 lines
352 B
Plaintext
13 lines
352 B
Plaintext
tests/cases/compiler/raiseErrorOnParameterProperty.ts(2,25): error TS2304: Cannot find name 'X'.
|
|
|
|
|
|
==== tests/cases/compiler/raiseErrorOnParameterProperty.ts (1 errors) ====
|
|
class C1 {
|
|
constructor(public x: X) {
|
|
~
|
|
!!! error TS2304: Cannot find name 'X'.
|
|
}
|
|
}
|
|
var c1 = new C1(0);
|
|
|
|
|