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

11 lines
365 B
Plaintext
Raw Normal View History

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