TypeScript/tests/baselines/reference/functionAndInterfaceWithSeparateErrors.js

12 lines
239 B
TypeScript
Raw Normal View History

2014-07-15 22:10:22 +02:00
//// [functionAndInterfaceWithSeparateErrors.ts]
function Foo(s: string);
function Foo(n: number) { }
interface Foo {
[s: string]: string;
prop: number;
}
//// [functionAndInterfaceWithSeparateErrors.js]
function Foo(n) { }