signal-desktop/patches/zod+3.23.8.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
2024-11-14 01:20:36 +00:00
index e5314e6..4c54da2 100644
2024-10-02 19:03:10 +00:00
--- a/node_modules/zod/lib/types.d.ts
+++ b/node_modules/zod/lib/types.d.ts
2024-11-14 01:20:36 +00:00
@@ -59,7 +59,9 @@ export declare abstract class ZodType<Output = any, Def extends ZodTypeDef = Zod
2024-10-02 19:03:10 +00:00
};
_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>>;