Skip to content

Commit

Permalink
fix(vue): fix wrong preserveScroll types in link.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jrson83 committed Apr 25, 2024
1 parent 83e7956 commit 7836ba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vue/src/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ const Link = defineComponent({
default: () => ({}),
},
preserveScroll: {
type: Object as PropType<PreserveStateOption>,
type: [String, Boolean, Function] as PropType<PreserveStateOption>,
default: false,
},
preserveState: {
type: Object as PropType<PreserveStateOption>,
type: [String, Boolean, Function] as PropType<PreserveStateOption>,
default: null,
},
replace: {
Expand Down

0 comments on commit 7836ba4

Please sign in to comment.