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 cdc159c commit cb599caCopy full SHA for cb599ca
src/util/objects.ts
@@ -1,4 +1,4 @@
1
-export function isFile(object: File | FileList): boolean {
+export function isFile(object: any): boolean {
2
return object instanceof File || object instanceof FileList
3
}
4
export function is(errors: string[], errorsToCheck: string[] | string): boolean {
0 commit comments