Skip to content

Commit b9920f6

Browse files
authored
(fix) rename of $stores
#1539
1 parent 35bbfc5 commit b9920f6

File tree

1 file changed

+1
-0
lines changed
  • packages/typescript-plugin/src/language-service

1 file changed

+1
-0
lines changed

packages/typescript-plugin/src/language-service/rename.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export function decorateRename(
8080

8181
// |$store| would be renamed, make it $|store|
8282
textSpan.start += 1;
83+
textSpan.length -= 1;
8384
convertedRenameLocations.push(convert(renameLocation, textSpan));
8485
}
8586

0 commit comments

Comments
 (0)