15 lines
413 B
TypeScript
15 lines
413 B
TypeScript
/// <reference path="../fourslash.ts"/>
|
|
|
|
////var x: string[] = [];
|
|
////x.forEach(function (y) { y/*1*/
|
|
////x.forEach(y => y/*2*/
|
|
|
|
goTo.marker('1');
|
|
edit.insert('.');
|
|
verify.completions({ includes: "trim" });
|
|
edit.insert('});'); // need the following lines to not have parse errors in order for completion list to appear
|
|
|
|
goTo.marker('2');
|
|
edit.insert('.');
|
|
verify.completions({ includes: "trim" });
|