zod 3.25.18 → 3.25.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -723,7 +723,9 @@ export interface $ZodLiteral<T extends util.Primitive = util.Primitive> extends
|
|
|
723
723
|
_zod: $ZodLiteralInternals<T>;
|
|
724
724
|
}
|
|
725
725
|
export declare const $ZodLiteral: core.$constructor<$ZodLiteral>;
|
|
726
|
-
|
|
726
|
+
declare global {
|
|
727
|
+
interface File {
|
|
728
|
+
}
|
|
727
729
|
}
|
|
728
730
|
export interface $ZodFileDef extends $ZodTypeDef {
|
|
729
731
|
type: "file";
|
package/package.json
CHANGED
package/src/v4/core/schemas.ts
CHANGED
|
@@ -2865,7 +2865,10 @@ export const $ZodLiteral: core.$constructor<$ZodLiteral> = /*@__PURE__*/ core.$c
|
|
|
2865
2865
|
//////////////////////////////////////////
|
|
2866
2866
|
|
|
2867
2867
|
// provide a fallback in case the File interface isn't provided in the environment
|
|
2868
|
-
|
|
2868
|
+
declare global {
|
|
2869
|
+
interface File {}
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2869
2872
|
export interface $ZodFileDef extends $ZodTypeDef {
|
|
2870
2873
|
type: "file";
|
|
2871
2874
|
}
|