2015-12-13 01:38:11 +01:00
|
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
|
|
// @Filename: file1.ts
|
|
|
|
|
//// class Foo {
|
2017-01-17 19:29:54 +01:00
|
|
|
|
//// // This is not valid syntax: parameter property can't be binding pattern
|
|
|
|
|
//// constructor(private [[|privateParam|]]: number,
|
|
|
|
|
//// public [[|publicParam|]]: string,
|
|
|
|
|
//// protected [[|protectedParam|]]: boolean) {
|
|
|
|
|
////
|
|
|
|
|
//// let localPrivate = [|privateParam|];
|
|
|
|
|
//// this.privateParam += 10;
|
|
|
|
|
////
|
|
|
|
|
//// let localPublic = [|publicParam|];
|
|
|
|
|
//// this.publicParam += " Hello!";
|
|
|
|
|
////
|
|
|
|
|
//// let localProtected = [|protectedParam|];
|
|
|
|
|
//// this.protectedParam = false;
|
2015-12-13 01:38:11 +01:00
|
|
|
|
//// }
|
|
|
|
|
//// }
|
|
|
|
|
|
2017-01-17 19:29:54 +01:00
|
|
|
|
verify.rangesWithSameTextAreDocumentHighlights();
|