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

14 lines
519 B
Plaintext
Raw Normal View History

2014-10-01 02:15:18 +02:00
tests/cases/compiler/module_augmentExistingVariable.ts(1,5): error TS2300: Duplicate identifier 'console'.
tests/cases/compiler/module_augmentExistingVariable.ts(3,8): error TS2300: Duplicate identifier 'console'.
2014-10-01 02:15:18 +02:00
==== tests/cases/compiler/module_augmentExistingVariable.ts (2 errors) ====
2014-07-13 01:04:16 +02:00
var console: any;
2014-10-01 02:15:18 +02:00
~~~~~~~
!!! error TS2300: Duplicate identifier 'console'.
2014-07-13 01:04:16 +02:00
module console {
~~~~~~~
!!! error TS2300: Duplicate identifier 'console'.
2014-07-13 01:04:16 +02:00
export var x = 2;
}