At least on Typescript, it's possible to select a code like
export const MyVar = 3;
And with Right Click > Refactor, we can move it to a new file, and all the files that had it imported from file A (where it was), will now import it from the new file B (where it now is).
However, I already have the file that I want to move this export, I don't want to create a new one. I want to move the export to an existing file and automatically update all files that import it.
Is there a way to do it?