TypeScript/tests/baselines/reference/incompatibleExports2.errors.txt
2014-09-11 16:11:08 -07:00

8 lines
316 B
Plaintext

==== tests/cases/compiler/incompatibleExports2.ts (1 errors) ====
declare module "foo" {
export interface x { a: string }
interface y { a: Date }
export = y;
~~~~~~~~~~~
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.
}