Fix fourslash range annotation

This commit is contained in:
Yui T 2015-12-16 16:06:55 -08:00
parent e3075bab78
commit ddbf1030ff
8 changed files with 22 additions and 22 deletions

View file

@ -1,9 +1,9 @@
/// <reference path='fourslash.ts'/> /// <reference path='fourslash.ts'/>
//// class Foo { //// class Foo {
//// constructor(private |privateParam|: number) { //// constructor(private [|privateParam|]: number) {
//// let localPrivate = |privateParam|; //// let localPrivate = [|privateParam|];
//// this.|privateParam| += 10; //// this.[|privateParam|] += 10;
//// } //// }
//// } //// }

View file

@ -1,9 +1,9 @@
/// <reference path='fourslash.ts'/> /// <reference path='fourslash.ts'/>
//// class Foo { //// class Foo {
//// constructor(public |publicParam|: number) { //// constructor(public [|publicParam|]: number) {
//// let localPublic = |publicParam|; //// let localPublic = [|publicParam|];
//// this.|publicParam| += 10; //// this.[|publicParam|] += 10;
//// } //// }
//// } //// }

View file

@ -1,9 +1,9 @@
/// <reference path='fourslash.ts'/> /// <reference path='fourslash.ts'/>
//// class Foo { //// class Foo {
//// constructor(protected |protectedParam|: number) { //// constructor(protected [|protectedParam|]: number) {
//// let localProtected = |protectedParam|; //// let localProtected = [|protectedParam|];
//// this.|protectedParam| += 10; //// this.[|protectedParam|] += 10;
//// } //// }
//// } //// }

View file

@ -1,9 +1,9 @@
/// <reference path='fourslash.ts'/> /// <reference path='fourslash.ts'/>
//// class Foo { //// class Foo {
//// constructor(private |privateParam|: number) { //// constructor(private [|privateParam|]: number) {
//// let localPrivate = |privateParam|; //// let localPrivate = [|privateParam|];
//// this.|privateParam| += 10; //// this.[|privateParam|] += 10;
//// } //// }
//// } //// }

View file

@ -1,9 +1,9 @@
/// <reference path='fourslash.ts'/> /// <reference path='fourslash.ts'/>
//// class Foo { //// class Foo {
//// constructor(public |publicParam|: number) { //// constructor(public [|publicParam|]: number) {
//// let publicParam = |publicParam|; //// let publicParam = [|publicParam|];
//// this.|publicParam| += 10; //// this.[|publicParam|] += 10;
//// } //// }
//// } //// }

View file

@ -1,9 +1,9 @@
/// <reference path='fourslash.ts'/> /// <reference path='fourslash.ts'/>
//// class Foo { //// class Foo {
//// constructor(protected |protectedParam|: number) { //// constructor(protected [|protectedParam|]: number) {
//// let protectedParam = |protectedParam|; //// let protectedParam = [|protectedParam|];
//// this.|protectedParam| += 10; //// this.[|protectedParam|] += 10;
//// } //// }
//// } //// }

View file

@ -1,8 +1,8 @@
/// <reference path='fourslash.ts'/> /// <reference path='fourslash.ts'/>
//// class Foo { //// class Foo {
//// constructor(protected { |protectedParam| }) { //// constructor(protected { [|protectedParam|] }) {
//// let myProtectedParam = |protectedParam|; //// let myProtectedParam = [|protectedParam|];
//// } //// }
//// } //// }

View file

@ -1,8 +1,8 @@
/// <reference path='fourslash.ts'/> /// <reference path='fourslash.ts'/>
//// class Foo { //// class Foo {
//// constructor(protected [ |protectedParam| ]) { //// constructor(protected [ [|protectedParam|] ]) {
//// let myProtectedParam = |protectedParam|; //// let myProtectedParam = [|protectedParam|];
//// } //// }
//// } //// }