Skip to content

Commit

Permalink
fix(vue): fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
MisicDemone committed Apr 25, 2022
1 parent a4a78e1 commit 518c4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue/src/shared/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function mapProps<T extends VueComponent = VueComponent>(
return observer(
defineComponent({
name: target.name ? `Connected${target.name}` : `ConnectedComponent`,
setup(props, { attrs, slots, listeners }) {
setup(props, { attrs, slots, listeners }: any) {
const fieldRef = useField()
return () => {
const newAttrs = fieldRef.value
Expand Down

0 comments on commit 518c4e5

Please sign in to comment.