TypeScript/tests/cases/fourslash/argumentsAreAvailableAfterEditsAtEndOfFunction.ts

15 lines
341 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts'/>
////module Test1 {
//// class Person {
//// children: string[];
//// constructor(public name: string, children: string[]) {
//// /**/
//// }
//// }
////}
goTo.marker();
var text = "this.children = ch";
edit.insert(text);
verify.completionListContains("children", "(parameter) children: string[]");