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