TypeScript/tests/cases/fourslash/duplicateFunctionImplementation.ts

11 lines
249 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path="fourslash.ts" />
//// interface IFoo<T> {
//// foo<T>(): T;
//// }
//// function foo<string>(/**/): string { return null; }
//// function foo<T>(x: T): T { return null; }
goTo.marker();
edit.insert("x: string");