Skip to content

Commit baec18f

Browse files
committed
fix: typing again
1 parent 39bf95f commit baec18f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@ const boolAttributes = [
3636

3737
type Attributes = ModalValue | UpdateModalValue
3838
type BoolAttributes = {
39-
[K in typeof boolAttributes[number]]: {
40-
type: Boolean
41-
default: undefined
42-
}
39+
[K in typeof boolAttributes[number]]: boolean
4340
}
4441

4542
export default defineComponent<HTMLAttributes & { mode: PropType<Mode> } & { [K in Attributes]: any } & BoolAttributes, {}, {}, {}, {}, {}, {}, { 'update:mode': (mode: Mode) => void; 'update:modalValue': (value: unknown) => void; 'input': (value: unknown) => void }>({

0 commit comments

Comments
 (0)