Skip to content

Commit

Permalink
fix: don't use Element object in prop types
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed May 28, 2021
1 parent 51ad0c2 commit 9939e8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VOverlay/VOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default defineComponent({
props: makeProps({
absolute: Boolean,
attach: {
type: [Boolean, String, Element] as PropType<boolean | string | Element>,
type: [Boolean, String, Object] as PropType<boolean | string | Element>,
default: 'body',
},
eager: Boolean,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineComponent({
name: 'VDialogTransition',

props: makeProps({
target: Element as PropType<HTMLElement>,
target: Object as PropType<HTMLElement>,
}),

setup (props, { slots }) {
Expand Down

0 comments on commit 9939e8a

Please sign in to comment.