Skip to content

Commit

Permalink
fix(vue): use PreserveStateOption from core package
Browse files Browse the repository at this point in the history
  • Loading branch information
jrson83 committed Apr 25, 2024
1 parent ef503f2 commit 9df6050
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/vue/src/link.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
type Method,
type PageProps,
type PreserveStateOption,
type Progress,
mergeDataIntoQueryString,
router,
Expand All @@ -15,8 +15,8 @@ export interface InertiaLinkProps {
method?: Method
headers?: object
onClick?: (event: MouseEvent) => void
preserveScroll?: boolean | ((props: PageProps) => boolean)
preserveState?: boolean | ((props: PageProps) => boolean) | null
preserveScroll?: PreserveStateOption
preserveState?: PreserveStateOption
replace?: boolean
only?: string[]
onCancelToken?: { ({ cancel }: { cancel: VoidFunction }): void }
Expand Down

0 comments on commit 9df6050

Please sign in to comment.