12 lines
No EOL
496 B
Text
12 lines
No EOL
496 B
Text
tests/cases/compiler/ambientClassOverloadForFunction.ts(1,15): error TS2300: Duplicate identifier 'foo'.
|
|
tests/cases/compiler/ambientClassOverloadForFunction.ts(2,10): error TS2300: Duplicate identifier 'foo'.
|
|
|
|
|
|
==== tests/cases/compiler/ambientClassOverloadForFunction.ts (2 errors) ====
|
|
declare class foo{};
|
|
~~~
|
|
!!! error TS2300: Duplicate identifier 'foo'.
|
|
function foo() { return null; }
|
|
~~~
|
|
!!! error TS2300: Duplicate identifier 'foo'.
|
|
|