TypeScript/tests/cases/fourslash/duplicateFunctionImplementation.ts
2014-07-29 12:17:44 -07:00

11 lines
249 B
TypeScript

/// <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");