diff --git a/yup/src/yup.ts b/yup/src/yup.ts index 70124cfb..83cfb649 100644 --- a/yup/src/yup.ts +++ b/yup/src/yup.ts @@ -1,4 +1,4 @@ -import Yup from 'yup'; +import * as Yup from 'yup'; import { toNestError, validateFieldsNatively } from '@hookform/resolvers'; import { appendErrors, FieldError } from 'react-hook-form'; import { Resolver } from './types';