9 lines
No EOL
280 B
Text
9 lines
No EOL
280 B
Text
==== 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'. |