Skip to content

Commit

Permalink
fix: hooks extend type
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Feb 27, 2023
1 parent eb222ce commit 019bad4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/devtools/src/hooks.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ModuleCustomTab } from './types'

declare module 'nuxt/schema' {
declare module '@nuxt/schema' {
interface NuxtHooks {
/**
* Called before devtools starts. Useful to detect if devtools is enabled.
Expand All @@ -23,3 +23,5 @@ declare module 'nuxt/schema' {
'devtools:customTabs:refresh': () => void
}
}

export {}

0 comments on commit 019bad4

Please sign in to comment.