TypeScript/tests/baselines/reference/exportDeclareClass1.errors.txt
2015-03-31 14:29:45 -07:00

18 lines
767 B
Plaintext

tests/cases/compiler/exportDeclareClass1.ts(2,21): error TS1184: An implementation cannot be declared in ambient contexts.
tests/cases/compiler/exportDeclareClass1.ts(3,31): error TS1184: An implementation cannot be declared in ambient contexts.
==== tests/cases/compiler/exportDeclareClass1.ts (2 errors) ====
export declare class eaC {
static tF() { };
~
!!! error TS1184: An implementation cannot be declared in ambient contexts.
static tsF(param:any) { };
~
!!! error TS1184: An implementation cannot be declared in ambient contexts.
};
export declare class eaC2 {
static tF();
static tsF(param:any);
};