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

18 lines
500 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/cloduleWithDuplicateMember2.ts (3 errors) ====
class C {
set x(y) { }
~
!!! Accessors are only available when targeting ECMAScript 5 and higher.
static set y(z) { }
~
!!! Accessors are only available when targeting ECMAScript 5 and higher.
}
module C {
export var x = 1;
}
module C {
export function x() { }
~
!!! Duplicate identifier 'x'.
}