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