Skip to content

Commit

Permalink
fix(vue): remove invalid type assignments for link
Browse files Browse the repository at this point in the history
  • Loading branch information
jrson83 committed Apr 25, 2024
1 parent 7546bd1 commit ef503f2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/vue/src/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
router,
shouldIntercept,
} from '@inertiajs-revamped/core'
import { type DefineComponent, type PropType, defineComponent, h } from 'vue'
import { type PropType, defineComponent, h } from 'vue'

export interface InertiaLinkProps {
as?: string
Expand All @@ -29,9 +29,7 @@ export interface InertiaLinkProps {
queryStringArrayFormat?: 'brackets' | 'indices'
}

type InertiaLink = DefineComponent<InertiaLinkProps>

const Link: InertiaLink = defineComponent({
const Link = defineComponent({
name: 'Link',
props: {
as: {
Expand Down

0 comments on commit ef503f2

Please sign in to comment.