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 0af11b6 commit 94014afCopy full SHA for 94014af
src/internal/uploads.ts
@@ -138,7 +138,7 @@ export const createForm = async <T = Record<string, unknown>>(
138
139
// We check for Blob not File because Bun.File doesn't inherit from File,
140
// but they both inherit from Blob and have a `name` property at runtime.
141
-const isNamedBlob = (value: object) => value instanceof Blob && 'name' in value;
+const isNamedBlob = (value: unknown) => value instanceof Blob && 'name' in value;
142
143
const isUploadable = (value: unknown) =>
144
typeof value === 'object' &&
0 commit comments