2015-03-02 23:41:44 +01: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);
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions({ includes: { name: "children", text: "(parameter) children: string[]" }, isNewIdentifierLocation: true });
|