Ts 3.5.1
I use yarn workspaces in the project so may
./package/module folder is linked and available as @app/module
Say I have such file, that imports from the same module test
import { a, b } from '@app/module/test'
import { b } from './packages/module/test'
Then I rename file packages/module/test to test2
and refactoring does change our file to:
import { a, b } from '@app/module/test' // this is not
import { b } from '@app/module/test2' // this is renamed and put @app instead of `./packages`
Expected result would probably be:
import { a, b } from '@app/module/test2'
import { b } from './packages/module/test2'
If there would be importing only from '@app/module/test' it would not even suggest rename refactoring.