2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
//// var object: {
|
|
|
|
//// (bar: any): any;
|
|
|
|
//// new (bar: any): any;
|
|
|
|
//// [bar: any]: any;
|
|
|
|
//// bar: any;
|
|
|
|
//// foo(bar: any): any;
|
|
|
|
//// };
|
|
|
|
////object./**/
|
|
|
|
|
|
|
|
goTo.marker();
|
2014-09-29 18:47:24 +02:00
|
|
|
verify.memberListContains("bar", '(property) bar: any');
|
|
|
|
verify.memberListContains("foo", '(method) foo(bar: any): any');
|