Skip to content

Commit bd8878c

Browse files
committed
fix: last fix
1 parent 1a06503 commit bd8878c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ export default defineComponent({
4343
type: String as PropType<Mode>,
4444
},
4545
...(Object.fromEntries(Array.from(boolAttributes, boolAttr => [boolAttr, {
46-
type: Boolean,
46+
type: Boolean as PropType<boolean>,
4747
default: undefined,
48-
}])) as { [key in typeof boolAttributes[number]]: { type: BooleanConstructor; default: undefined } }),
48+
}])) as { [key in typeof boolAttributes[number]]: { type: PropType<boolean>; default: undefined } }),
4949
},
5050
emits: [updateModelValue, 'update:mode'],
5151
setup(props, { attrs, emit, expose }) {

0 commit comments

Comments
 (0)