signal-desktop/patches/zod+3.22.3.patch

15 lines
924 B
Diff
Raw Normal View History

2024-10-02 19:03:10 +00:00
diff --git a/node_modules/zod/lib/types.d.ts b/node_modules/zod/lib/types.d.ts
index 0ece6e8..57bbe86 100644
--- a/node_modules/zod/lib/types.d.ts
+++ b/node_modules/zod/lib/types.d.ts
@@ -56,7 +56,9 @@ export declare abstract class ZodType<Output = any, Def extends ZodTypeDef = Zod
};
_parseSync(input: ParseInput): SyncParseReturnType<Output>;
_parseAsync(input: ParseInput): AsyncParseReturnType<Output>;
+ /** @deprecated (Signal Desktop: Use ts/util/schema.ts instead) */
parse(data: unknown, params?: Partial<ParseParams>): Output;
+ /** @deprecated (Signal Desktop: Use ts/util/schema.ts instead) */
safeParse(data: unknown, params?: Partial<ParseParams>): SafeParseReturnType<Input, Output>;
parseAsync(data: unknown, params?: Partial<ParseParams>): Promise<Output>;
safeParseAsync(data: unknown, params?: Partial<ParseParams>): Promise<SafeParseReturnType<Input, Output>>;