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

13 lines
556 B
Plaintext
Raw Normal View History

2014-12-17 04:11:07 +01:00
tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration18.ts(4,25): error TS1184: An implementation cannot be declared in ambient contexts.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration18.ts (1 errors) ====
declare class FooBase {
constructor(s: string);
constructor(n: number);
constructor(x: any) {
~
2014-12-17 04:11:07 +01:00
!!! error TS1184: An implementation cannot be declared in ambient contexts.
2014-07-13 01:04:16 +02:00
}
bar1():void;
}