TypeScript/tests/baselines/reference/module_augmentExistingAmbientVariable.errors.txt
2014-09-12 13:35:07 -07:00

11 lines
365 B
Plaintext

tests/cases/compiler/module_augmentExistingAmbientVariable.ts(3,8): error TS2300: Duplicate identifier 'console'.
==== tests/cases/compiler/module_augmentExistingAmbientVariable.ts (1 errors) ====
declare var console: any;
module console {
~~~~~~~
!!! error TS2300: Duplicate identifier 'console'.
export var x = 2;
}