Skip to content

Commit

Permalink
fix(typescript-plugin): prevent removed components from appearing in …
Browse files Browse the repository at this point in the history
…the completion list
  • Loading branch information
KazariEX committed Feb 21, 2025
1 parent 63e6f51 commit 3fac8f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/typescript-plugin/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ class NamedPipeServer {
name: string,
props: ComponentPropInfo[],
] = data;
components[name] = props;
if (name in components) {
components[name] = props;
}
}
else {
console.error('Unknown notification type:', type);
Expand Down

0 comments on commit 3fac8f4

Please sign in to comment.