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

18 lines
797 B
Plaintext

==== tests/cases/compiler/exportDeclareClass1.ts (4 errors) ====
export declare class eaC {
static tF() { };
~
!!! error TS1037: A function implementation cannot be declared in an ambient context.
~
!!! error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
static tsF(param:any) { };
~
!!! error TS1037: A function implementation cannot be declared in an ambient context.
~
!!! error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
};
export declare class eaC2 {
static tF();
static tsF(param:any);
};