26 lines
442 B
TypeScript
26 lines
442 B
TypeScript
//// [tests/cases/compiler/outModuleConcatES6.ts] ////
|
|
|
|
//// [a.ts]
|
|
|
|
// This should be an error
|
|
|
|
export class A { }
|
|
|
|
//// [b.ts]
|
|
import {A} from "./ref/a";
|
|
export class B extends A { }
|
|
|
|
//// [all.js]
|
|
// This should be an error
|
|
//# sourceMappingURL=all.js.map
|
|
|
|
//// [all.d.ts]
|
|
declare module "ref/a" {
|
|
export class A {
|
|
}
|
|
}
|
|
declare module "b" {
|
|
import { A } from "ref/a";
|
|
export class B extends A {
|
|
}
|
|
}
|