Files
tsgo/testdata/baselines/reference/submodule/compiler/functionAndInterfaceWithSeparateErrors.js

15 lines
332 B
TypeScript

//// [tests/cases/compiler/functionAndInterfaceWithSeparateErrors.ts] ////
//// [functionAndInterfaceWithSeparateErrors.ts]
function Foo(s: string);
function Foo(n: number) { }
interface Foo {
[s: string]: string;
prop: number;
}
//// [functionAndInterfaceWithSeparateErrors.js]
"use strict";
function Foo(n) { }