ts_rename_file
Update all imports referencing a file after moving or renaming it on disk. Move the file first, then call this to apply changes to disk.
Instructions
Update all imports that reference a file after it has been moved or renamed on disk. Move the file first, then call this. Applies the changes to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newPath | Yes | New relative file path | |
| oldPath | Yes | Previous relative file path |