chore: improve prop type definition
This commit is contained in:
parent
ddcd6a17dc
commit
638f6bea24
@ -47,7 +47,7 @@ import {success} from '@/message'
|
|||||||
import type { IconProp } from '@fortawesome/fontawesome-svg-core'
|
import type { IconProp } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
entity: String,
|
entity: String as ISubscription['entity'],
|
||||||
entityId: Number,
|
entityId: Number,
|
||||||
isButton: {
|
isButton: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user