8 lines
No EOL
302 B
Text
8 lines
No EOL
302 B
Text
==== 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.
|
|
} |