2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/overloadsInDifferentContainersDisagreeOnAmbient.ts(7,21): error TS2384: Overload signatures must all be ambient or non-ambient.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/overloadsInDifferentContainersDisagreeOnAmbient.ts (1 errors) ====
|
|
|
|
declare module M {
|
|
|
|
// Error because body is not ambient and this overload is
|
|
|
|
export function f();
|
|
|
|
}
|
|
|
|
|
|
|
|
module M {
|
|
|
|
export function f() { }
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2384: Overload signatures must all be ambient or non-ambient.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|