Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
fix: type timeouts
  • Loading branch information
danielroe committed Mar 6, 2024
commit 3c54415973fa84d1fc981bca191acb50dd8c7ca9
4 changes: 2 additions & 2 deletions packages/nuxt/src/app/composables/loading-indicator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { computed, getCurrentScope, onScopeDispose, ref } from 'vue'
import type { Ref } from 'vue'
import { useNuxtApp } from '#app/nuxt'

let hideTimeout: any = null
let resetTimeout: any = null
let hideTimeout: number | NodeJS.Timeout
let resetTimeout: number | NodeJS.Timeout

export type LoadingIndicatorOpts = {
/** @default 2000 */
Expand Down