I have a class like:
class MyClass{
private myVar: string;
/**
* do some stuff with myVar
*/
private myMethod(){
// something
}
}
If I rename myVar to renamedVar:
class MyClass{
private renamedVar: string;
/**
* do some stuff with myVar
*/
private myMethod(){
// something
}
}
I would like to refactor/rename myVar and that the changes would also be made in the JSDoc comment above myMethod.
Desired output:
class MyClass{
private renamedVar: string;
/**
* do some stuff with renamedVar
*/
private myMethod(){
// something
}
}
I tried using {@link myVar} but seems not work.
Help/hints appreciated, thanks