We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02a5de1 commit 71da8d3Copy full SHA for 71da8d3
packages/typescript-plugin/src/language-service/rename.ts
@@ -25,6 +25,7 @@ export function decorateRename(
25
position,
26
findInStrings,
27
findInComments,
28
+ // @ts-expect-error overload shenanigans
29
providePrefixAndSuffixTextForRename
30
);
31
if (!renameLocations) {
packages/typescript-plugin/src/utils.ts
@@ -191,7 +191,7 @@ export function offsetOfGeneratedComponentExport(snapshot: SvelteSnapshot) {
191
192
export function gatherDescendants<T extends ts.Node>(
193
node: ts.Node,
194
- predicate: NodePredicate | NodeTypePredicate<T>,
+ predicate: NodeTypePredicate<T>,
195
dest: T[] = []
196
) {
197
if (predicate(node)) {
0 commit comments