We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e6a46e commit 3c6a573Copy full SHA for 3c6a573
src/internal/uploads.ts
@@ -128,7 +128,10 @@ export const createForm = async <T = Record<string, unknown>>(
128
129
// We check for Blob not File because Bun.File doesn't inherit from File,
130
// but they both inherit from Blob and have a `name` property at runtime.
131
-const isNamedBlob = (value: object) => value instanceof File || (value instanceof Blob && 'name' in value);
+const isNamedBlob = (value: object) => {
132
+ console.log({ File });
133
+ return value instanceof File || (value instanceof Blob && 'name' in value);
134
+};
135
136
const isUploadable = (value: unknown) =>
137
typeof value === 'object' &&
0 commit comments