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'
|
||||
|
||||
const props = defineProps({
|
||||
entity: String,
|
||||
entity: String as ISubscription['entity'],
|
||||
entityId: Number,
|
||||
isButton: {
|
||||
type: Boolean,
|
||||
|
Loading…
x
Reference in New Issue
Block a user