mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 06:29:30 -07:00
[ FIX ] : Correct type annotations for timeout variables in OrbDemo.vue
This commit is contained in:
@@ -57,8 +57,8 @@ const forceHoverState = ref(false);
|
||||
const debouncedHue = ref(100);
|
||||
const debouncedHoverIntensity = ref(0.5);
|
||||
|
||||
let hueTimeout: number;
|
||||
let hoverIntensityTimeout: number;
|
||||
let hueTimeout: ReturnType<typeof setTimeout>;
|
||||
let hoverIntensityTimeout: ReturnType<typeof setTimeout>;
|
||||
|
||||
watch(hue, newValue => {
|
||||
clearTimeout(hueTimeout);
|
||||
|
||||
Reference in New Issue
Block a user