15 lines
No EOL
355 B
TypeScript
15 lines
No EOL
355 B
TypeScript
/// <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[]"); |