Skip to content

Commit 5872bf3

Browse files
authored
Merge pull request #433 from VividLemon/setup
BFormTags does not need generic type for tagValidator
2 parents 7f804d3 + b83ace1 commit 5872bf3

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)