TypeScript/tests/baselines/reference/externSyntax.errors.txt

17 lines
395 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/externSyntax.ts (1 errors) ====
declare var v;
declare module M {
export class D {
public p;
}
export class C {
public f();
public g() { } // error body
~
!!! A function implementation cannot be declared in an ambient context.
}
}