13 lines
No EOL
326 B
Text
13 lines
No EOL
326 B
Text
==== 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++; }
|
|
}
|
|
|