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

12 lines
447 B
Plaintext
Raw Normal View History

2014-10-01 02:15:18 +02:00
tests/cases/compiler/exportSameNameFuncVar.ts(1,12): error TS2300: Duplicate identifier 'a'.
2014-10-01 20:27:20 +02:00
tests/cases/compiler/exportSameNameFuncVar.ts(2,17): error TS2300: Duplicate identifier 'a'.
2014-10-01 02:15:18 +02:00
==== tests/cases/compiler/exportSameNameFuncVar.ts (2 errors) ====
2014-07-13 01:04:16 +02:00
export var a = 10;
2014-10-01 02:15:18 +02:00
~
!!! error TS2300: Duplicate identifier 'a'.
2014-10-01 02:15:18 +02:00
export function a() {
2014-10-01 20:27:20 +02:00
~
!!! error TS2300: Duplicate identifier 'a'.
}