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

13 lines
340 B
Plaintext

==== tests/cases/compiler/declInput.ts (1 errors) ====
interface bar {
}
class bar {
~~~
!!! error TS2300: 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++; }
}