TypeScript
TypeScript copied to clipboard
Renaming a private constructor parameter in VS doesn't rename local references.
If I have a constructor like the following:
constructor(private myVariable: number){
var something = compute(myVariable);
}
If I choose to rename myVariable to _myVariable then it will catch all references to this.myVariable but the references within the constructor to myVariable are not caught because they are missing this..
Please check on this when we have a new release with a language service built on top of the new compiler.