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 bbd7e1e commit 3f50fc2Copy full SHA for 3f50fc2
src/lib/utils/Popper.svelte
@@ -189,7 +189,7 @@
189
interactive: boolean;
190
}
191
let context: ChangeContext | undefined = $state(undefined);
192
- let timeout: NodeJS.Timeout | undefined = $state(undefined);
+ let timeout: ReturnType<typeof setTimeout> | undefined = $state(undefined);
193
194
// start_change debounces calls that attempt to open or close the popover.
195
// callers must specify whether this request is on behalf of ui interactivity
@@ -220,6 +220,7 @@
220
if (!context) return;
221
isOpen = context.nextOpen;
222
context = undefined;
223
+ timeout = undefined;
224
225
</script>
226
0 commit comments