We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc24f3e commit a4e568fCopy full SHA for a4e568f
1 file changed
lib/core/src/helpers/select-file.ts
@@ -1,6 +1,6 @@
1
-export function selectFile(options?: string | {accept?: string; multiple: false | undefined}): Promise<File | null>;
+export function selectFile(options?: string | {accept?: string; multiple?: false | undefined}): Promise<File | null>;
2
3
-export function selectFile(options: {accept?: string; multiple: true}): Promise<FileList | null>;
+export function selectFile(options: {accept?: string; multiple?: true}): Promise<FileList | null>;
4
5
/**
6
* Select file from file system.
0 commit comments