Skip to content

Commit

Permalink
fix: temporary fix for the unamed import issue with vue-beta 4
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Apr 26, 2020
1 parent fe98e3f commit 62d27e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/Observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { normalizeChildren } from './utils/vnode';
import { useForm } from './useForm';
import { ValidationFlags } from './types';

export const ValidationObserver = defineComponent({
export const ValidationObserver: any = defineComponent({
name: 'ValidationObserver',
inheritAttrs: false,
props: {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/Provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { RuleContainer } from './extend';
import { Flag, ValidationFlags, FormController } from './types';
import { useField } from './useField';

export const ValidationProvider = defineComponent({
export const ValidationProvider: any = defineComponent({
name: 'ValidationProvider',
props: {
vid: {
Expand Down

0 comments on commit 62d27e9

Please sign in to comment.