// 导出 @hookform/resolvers 的所有解析器 export { yupResolver } from '@hookform/resolvers/yup'; // 导出 yup 的所有内容(包括类型) export * as yup from 'yup'; // 显式导出常用类型(如果上面的方式不工作) export type { StringSchema, NumberSchema, BooleanSchema, DateSchema, ArraySchema, ObjectSchema, Schema, } from 'yup';