File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import { onIonViewDidEnter , onIonViewDidLeave } from '@ionic/vue'
2- import type { ActiveHeadEntry , UseHeadInput } from '@unhead/vue/types'
2+ import type { ActiveHeadEntry , UseHeadInput , UseHeadOptions } from '@unhead/vue/types'
33import type { useHead as _useHead } from '@unhead/vue'
44import { onBeforeUnmount } from 'vue'
55import { useRoute , useRouter } from 'vue-router'
@@ -15,7 +15,7 @@ let currPath: string
1515let prevPath : string
1616
1717// eslint-disable-next-line @typescript-eslint/no-explicit-any
18- export function useHead < T extends Record < string , any > > ( obj : UseHeadInput < T > ) {
18+ export function useHead < T extends Record < string , any > > ( obj : UseHeadInput < T > , _ ?: UseHeadOptions ) {
1919 const currentPath = useRoute ( ) . path
2020 const activeHead = injectHead ( )
2121 const { currentRoute } = useRouter ( )
You can’t perform that action at this time.
0 commit comments