Files

18 lines
735 B
Diff

--- old.incompatibleExports1.errors.txt
+++ new.incompatibleExports1.errors.txt
@@= skipped -0, +0 lines =@@
-incompatibleExports1.ts(4,5): error TS2309: An export assignment cannot be used in a module with other exported elements.
incompatibleExports1.ts(16,5): error TS2309: An export assignment cannot be used in a module with other exported elements.
-==== incompatibleExports1.ts (2 errors) ====
+==== incompatibleExports1.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.
}
declare module "baz" {