TypeScript/tests/baselines/reference/augmentedTypesClass2a.errors.txt
2014-07-12 17:30:19 -07:00

9 lines
280 B
Plaintext

==== 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'.