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 54a2374 commit 0328478Copy full SHA for 0328478
src/core/BaseProxy.ts
@@ -115,6 +115,9 @@ class BaseProxy {
115
if (!form.hasOwnProperty(property)) {
116
return false
117
}
118
+ if (typeof window === 'undefined') {
119
+ return false
120
+ }
121
if (this.__hasFilesDeep(form[property])) {
122
return true
123
src/util/objects.ts
@@ -5,6 +5,9 @@ export function isArray(object: any): boolean {
5
6
7
export function isFile(object: any): boolean {
8
9
10
11
if (typeof File !== 'function' || typeof FileList !== 'function') {
12
13
0 commit comments