TypeScript/tests/cases/fourslash/functionOverloadCount.ts

15 lines
367 B
TypeScript
Raw Normal View History

2014-08-30 03:02:05 +02:00
/// <reference path="fourslash.ts"/>
////class C1 {
//// public attr(): string;
//// public attr(i: number): string;
//// public attr(i: number, x: boolean): string;
//// public attr(i?: any, x?: any) {
//// return "hi";
//// }
////}
////var i = new C1;
2015-03-02 23:41:44 +01:00
////i.attr(/*1*/
verify.signatureHelp({ marker: "1", overloadsCount: 3 });