18 lines
201 B
TypeScript
18 lines
201 B
TypeScript
//// [interfaceNameAsIdentifier.ts]
|
|
interface C {
|
|
(): void;
|
|
}
|
|
C();
|
|
|
|
module m2 {
|
|
export interface C {
|
|
(): void;
|
|
}
|
|
}
|
|
|
|
m2.C();
|
|
|
|
|
|
//// [interfaceNameAsIdentifier.js]
|
|
C();
|
|
m2.C();
|