16 lines
454 B
TypeScript
16 lines
454 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.memberListContains('trim');
|
|
verify.memberListCount(21);
|
|
edit.insert('});'); // need the following lines to not have parse errors in order for completion list to appear
|
|
|
|
goTo.marker('2');
|
|
edit.insert('.');
|
|
verify.memberListContains('trim');
|
|
verify.memberListCount(21);
|