TypeScript/tests/baselines/reference/declInput.errors.txt
2014-07-12 17:30:19 -07:00

13 lines
326 B
Plaintext

==== tests/cases/compiler/declInput.ts (1 errors) ====
interface bar {
}
class bar {
~~~
!!! Duplicate identifier 'bar'.
public f() { return ''; }
public g() { return {a: <bar>null, b: undefined, c: void 4 }; }
public h(x = 4, y = null, z = '') { x++; }
}