mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
332 B
TypeScript
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) { }
|