mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-25 00:11:52 +08:00
feat: upgrade fumadocs
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ const EnvSchema = yup.object({
|
||||
});
|
||||
|
||||
type EnvSchema = yup.InferType<typeof EnvSchema>;
|
||||
function safeParseYup<T>(schema: yup.ObjectSchema<any>, data: unknown) {
|
||||
function safeParseYup<T>(schema: yup.AnySchema, data: unknown) {
|
||||
try {
|
||||
const validatedData = schema.validateSync(data, {
|
||||
abortEarly: false,
|
||||
|
||||
Reference in New Issue
Block a user