TypeScript/tests/baselines/reference/overloadsInDifferentContainersDisagreeOnAmbient.errors.txt
2014-09-11 16:11:08 -07:00

11 lines
384 B
Plaintext

==== 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() { }
~
!!! error TS2384: Overload signatures must all be ambient or non-ambient.
}