Skip to content

fix: resolve typecheck errors after dependency updates - #1104

Merged
antfu merged 1 commit into
mainfrom
fix/ci-typecheck
Oct 2, 2026
Merged

antfu merged 1 commit into
mainfrom
fix/ci-typecheck

Conversation

@antfubot

@antfubot antfubot commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

CI's typecheck job has been failing on main since the latest dependency bumps. This fixes the four resulting type errors:

  • TimelineSegment.vue: VueUse 15 replaced updateInterval in useTimeAgo with a scheduler option; keep the 1s refresh via useIntervalFn.
  • StorageDetails.vue: not every storage mount type has base, so narrow with 'base' in storage.
  • server-routes.ts / server-tasks.ts: with both Nitro v2 and v3 types present, nitro.hooks.hook is a union of generic signatures and not callable. Add onDevReload in nitro-compat to hold the single cast.

This PR was created with the help of an agent.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying nuxt-devtools with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8318728
Status: ✅  Deploy successful!
Preview URL: https://c7118bcb.nuxt-devtools.pages.dev
Branch Preview URL: https://fix-ci-typecheck.nuxt-devtools.pages.dev

View logs

@antfu
antfu merged commit 93ffd79 into main Oct 2, 2026
7 of 9 checks passed
@antfu
antfu deleted the fix/ci-typecheck branch October 2, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants