18 lines
358 B
TypeScript
18 lines
358 B
TypeScript
|
/// <reference path='fourslash.ts'/>
|
||
|
|
||
|
////class C {
|
||
|
//// public foo(x: string);
|
||
|
//// public foo(x: number);
|
||
|
//// public foo(x: any) { return x; }
|
||
|
////}
|
||
|
|
||
|
////interface I extends C {
|
||
|
//// other(x: any): any;
|
||
|
////}
|
||
|
|
||
|
////var i: I;
|
||
|
////i.foo(/**/
|
||
|
|
||
|
goTo.marker();
|
||
|
verify.signatureHelpCountIs(2);
|
||
|
verify.currentParameterSpanIs('x: string');
|