TypeScript/tests/baselines/reference/functionAndInterfaceWithSeparateErrors.js

12 lines
239 B
TypeScript

//// [functionAndInterfaceWithSeparateErrors.ts]
function Foo(s: string);
function Foo(n: number) { }
interface Foo {
[s: string]: string;
prop: number;
}
//// [functionAndInterfaceWithSeparateErrors.js]
function Foo(n) { }