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

8 lines
246 B
Plaintext
Raw Normal View History

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;
}