TypeScript/tests/cases/fourslash/functionOverloadCount.ts

15 lines
355 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;
////i.attr(/*1*/
goTo.marker('1');
verify.signatureHelpCountIs(3);