Skip to content

Commit cb599ca

Browse files
committed
fix: types
1 parent cdc159c commit cb599ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/objects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export function isFile(object: File | FileList): boolean {
1+
export function isFile(object: any): boolean {
22
return object instanceof File || object instanceof FileList
33
}
44
export function is(errors: string[], errorsToCheck: string[] | string): boolean {

0 commit comments

Comments
 (0)