12 lines
No EOL
446 B
Text
12 lines
No EOL
446 B
Text
tests/cases/compiler/classOverloadForFunction.ts(1,7): error TS2300: Duplicate identifier 'foo'.
|
|
tests/cases/compiler/classOverloadForFunction.ts(2,10): error TS2300: Duplicate identifier 'foo'.
|
|
|
|
|
|
==== tests/cases/compiler/classOverloadForFunction.ts (2 errors) ====
|
|
class foo { };
|
|
~~~
|
|
!!! error TS2300: Duplicate identifier 'foo'.
|
|
function foo() {}
|
|
~~~
|
|
!!! error TS2300: Duplicate identifier 'foo'.
|
|
|