6 lines
183 B
Plaintext
6 lines
183 B
Plaintext
==== tests/cases/compiler/classOverloadForFunction.ts (1 errors) ====
|
|
class foo { };
|
|
function foo() {}
|
|
~~~
|
|
!!! error TS2300: Duplicate identifier 'foo'.
|
|
|