18 lines
314 B
Plaintext
18 lines
314 B
Plaintext
|
==== tests/cases/compiler/interfaceNameAsIdentifier.ts (2 errors) ====
|
||
|
interface C {
|
||
|
(): void;
|
||
|
}
|
||
|
C();
|
||
|
~
|
||
|
!!! Cannot find name 'C'.
|
||
|
|
||
|
module m2 {
|
||
|
export interface C {
|
||
|
(): void;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
m2.C();
|
||
|
~~
|
||
|
!!! Cannot find name 'm2'.
|
||
|
|