12 lines
239 B
JavaScript
12 lines
239 B
JavaScript
//// [functionAndInterfaceWithSeparateErrors.ts]
|
|
function Foo(s: string);
|
|
function Foo(n: number) { }
|
|
|
|
interface Foo {
|
|
[s: string]: string;
|
|
prop: number;
|
|
}
|
|
|
|
//// [functionAndInterfaceWithSeparateErrors.js]
|
|
function Foo(n) { }
|