mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
fix: to prop type
This commit is contained in:
@@ -81,7 +81,7 @@ const props = defineProps({
|
||||
default: false
|
||||
},
|
||||
to: {
|
||||
type: [String, Object] as PropType<RouteLocationNormalized>,
|
||||
type: [String, Object] as PropType<string | RouteLocationNormalized>,
|
||||
default: null
|
||||
},
|
||||
target: {
|
||||
|
||||
@@ -31,7 +31,7 @@ import { RouterLink } from 'vue-router'
|
||||
const props = defineProps({
|
||||
...RouterLink.props,
|
||||
to: {
|
||||
type: [String, Object] as PropType<RouteLocationNormalized>,
|
||||
type: [String, Object] as PropType<string | RouteLocationNormalized>,
|
||||
default: null
|
||||
},
|
||||
inactiveClass: {
|
||||
|
||||
@@ -38,7 +38,7 @@ const props = defineProps({
|
||||
}
|
||||
},
|
||||
to: {
|
||||
type: [String, Object] as PropType<RouteLocationNormalized>,
|
||||
type: [String, Object] as PropType<string | RouteLocationNormalized>,
|
||||
default: null
|
||||
},
|
||||
click: {
|
||||
|
||||
Reference in New Issue
Block a user