Skip to content

Commit

Permalink
refactor(vue): replace return type of headManager with `HeadManager…
Browse files Browse the repository at this point in the history
…` type
  • Loading branch information
jrson83 committed Apr 25, 2024
1 parent 79a9e30 commit 105f343
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vue/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type Page, createHeadManager, router } from '@inertiajs-revamped/core'
import { type HeadManager, type Page, router } from '@inertiajs-revamped/core'
import type { DefineComponent } from 'vue'
import useForm from './useForm'

Expand All @@ -15,7 +15,7 @@ declare module '@vue/runtime-core' {
export interface ComponentCustomProperties {
$inertia: typeof router
$page: Page
$headManager: ReturnType<typeof createHeadManager>
$headManager: HeadManager
}

/** https://vuejs.org/api/utility-types.html#componentcustomoptions */
Expand Down

0 comments on commit 105f343

Please sign in to comment.