Skip to content

Commit b83ace1

Browse files
author
issayah
committed
BFormTags does not need generic type for tagValidator
1 parent 7f804d3 commit b83ace1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/BFormTags/BFormTags.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ interface BFormTagsProps {
141141
tagPills?: boolean
142142
tagRemoveLabel?: string
143143
tagRemovedLabel?: string
144-
tagValidator?: <T>(t: T) => boolean
144+
tagValidator?: (t: unknown) => boolean
145145
tagVariant?: ColorVariant
146146
}
147147

src/types/components/BFormTags/BFormTags.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface Props {
3030
tagPills?: boolean
3131
tagRemoveLabel?: string
3232
tagRemovedLabel?: string
33-
tagValidator?: <T>(t: T) => boolean
33+
tagValidator?: (t: unknown) => boolean
3434
tagVariant?: ColorVariant
3535
}
3636
// Emits

0 commit comments

Comments
 (0)