TypeScript/tests/baselines/reference/classOverloadForFunction2.errors.txt
2014-09-11 16:11:08 -07:00

7 lines
297 B
Plaintext

==== tests/cases/compiler/classOverloadForFunction2.ts (2 errors) ====
function bar(): string;
~~~
!!! error TS2391: Function implementation is missing or not immediately following the declaration.
class bar {}
~~~
!!! error TS2300: Duplicate identifier 'bar'.