Files
tsgo/testdata/baselines/reference/submodule/compiler/cloduleWithDuplicateMember2.errors.txt

20 lines
544 B
Plaintext

cloduleWithDuplicateMember2.ts(7,16): error TS2300: Duplicate identifier 'x'.
cloduleWithDuplicateMember2.ts(10,21): error TS2300: Duplicate identifier 'x'.
==== cloduleWithDuplicateMember2.ts (2 errors) ====
class C {
set x(y) { }
static set y(z) { }
}
namespace C {
export var x = 1;
~
!!! error TS2300: Duplicate identifier 'x'.
}
namespace C {
export function x() { }
~
!!! error TS2300: Duplicate identifier 'x'.
}