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

9 lines
280 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/augmentedTypesClass2a.ts (2 errors) ====
//// class then function
class c2 { public foo() { } }
function c2() { } // error
~~
!!! Duplicate identifier 'c2'.
var c2 = () => { }
~~
!!! Duplicate identifier 'c2'.