mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-11 06:02:53 -05:00
Add more complex test scenarios
This commit is contained in:
@@ -1,10 +1,34 @@
|
||||
///<reference path="fourslash.ts" />
|
||||
|
||||
// @allowNonTsExtensions: true
|
||||
// @Filename: ref.d.ts
|
||||
//// namespace Thing {
|
||||
//// export interface Thung {
|
||||
//// a: number;
|
||||
//// ]
|
||||
//// ]
|
||||
|
||||
|
||||
// @Filename: Foo.js
|
||||
////
|
||||
//// /** @type {Array<number>} */
|
||||
//// var v;
|
||||
//// v[0]./**/
|
||||
//// 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();
|
||||
|
||||
goTo.marker('1');
|
||||
verify.memberListContains("toFixed", /*displayText:*/ undefined, /*documentation*/ undefined, "method");
|
||||
|
||||
goTo.marker('2');
|
||||
verify.memberListContains("toFixed", /*displayText:*/ undefined, /*documentation*/ undefined, "method");
|
||||
|
||||
goTo.marker('3');
|
||||
verify.memberListContains("toFixed", /*displayText:*/ undefined, /*documentation*/ undefined, "method");
|
||||
|
||||
Reference in New Issue
Block a user