2016-02-02 22:32:21 +01:00
|
|
|
///<reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
// @allowNonTsExtensions: true
|
2016-02-04 19:14:13 +01:00
|
|
|
// @Filename: ref.d.ts
|
|
|
|
//// namespace Thing {
|
|
|
|
//// export interface Thung {
|
|
|
|
//// a: number;
|
|
|
|
//// ]
|
|
|
|
//// ]
|
|
|
|
|
|
|
|
|
2016-02-02 22:32:21 +01:00
|
|
|
// @Filename: Foo.js
|
2016-02-04 19:14:13 +01:00
|
|
|
////
|
2016-02-02 22:32:21 +01:00
|
|
|
//// /** @type {Array<number>} */
|
|
|
|
//// var v;
|
2016-02-04 19:14:13 +01:00
|
|
|
//// v[0]./*1*/
|
|
|
|
////
|
|
|
|
//// /** @type {{x: Array<Array<number>>}} */
|
|
|
|
//// var w;
|
|
|
|
//// w.x[0][0]./*2*/
|
|
|
|
////
|
|
|
|
//// /** @type {Array<Thing.Thung>} */
|
|
|
|
//// var x;
|
|
|
|
//// x[0].a./*3*/
|
|
|
|
|
|
|
|
|
|
|
|
goTo.marker('1');
|
2016-12-07 22:36:11 +01:00
|
|
|
verify.completionListContains("toFixed", /*displayText:*/ undefined, /*documentation*/ undefined, "method");
|
2016-02-04 19:14:13 +01:00
|
|
|
|
|
|
|
goTo.marker('2');
|
2016-12-07 22:36:11 +01:00
|
|
|
verify.completionListContains("toFixed", /*displayText:*/ undefined, /*documentation*/ undefined, "method");
|
2016-02-02 22:32:21 +01:00
|
|
|
|
2016-02-04 19:14:13 +01:00
|
|
|
goTo.marker('3');
|
2016-12-07 22:36:11 +01:00
|
|
|
verify.completionListContains("toFixed", /*displayText:*/ undefined, /*documentation*/ undefined, "method");
|