emacroh5lib 1.0.79 → 1.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/utilities/EMacro.ts
CHANGED
@@ -105,7 +105,7 @@ export namespace EMacro {
|
|
105
105
|
completeHandle(files)
|
106
106
|
}
|
107
107
|
|
108
|
-
public static selectFile(options: any = { multiple: true, accept: "*/*" }, isDirectory =
|
108
|
+
public static selectFile(options: any = { multiple: true, accept: "*/*" }, isDirectory = false): Promise<FileList | null> {
|
109
109
|
return new Promise((res: (value: FileList) => void, rej) => {
|
110
110
|
const el = document.createElement("input");
|
111
111
|
el.type = "file";
|