11 lines
No EOL
373 B
Text
11 lines
No EOL
373 B
Text
==== tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts (2 errors) ====
|
|
declare module "m1" {
|
|
var a: number
|
|
var b: number;
|
|
export = a;
|
|
~~~~~~~~~~~
|
|
!!! A module cannot have more than one export assignment.
|
|
export = b;
|
|
~~~~~~~~~~~
|
|
!!! A module cannot have more than one export assignment.
|
|
} |