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 9120531 commit 427b728Copy full SHA for 427b728
src/utils/safe-types.js
@@ -7,3 +7,5 @@ import { hasWindowSupport } from './env'
7
const w = hasWindowSupport ? window : {}
8
9
export const HTMLElement = hasWindowSupport ? w.HTMLElement : class HTMLElement extends Object {}
10
+
11
+export const File = hasWindowSupport ? w.File : class File extends Object {}
0 commit comments