diff --git a/js/fileUtils.ts b/js/fileUtils.ts index d8caceff..b63fd32f 100644 --- a/js/fileUtils.ts +++ b/js/fileUtils.ts @@ -84,6 +84,7 @@ export async function promptForFileReferences( if (accept) fileInput.setAttribute("accept", accept); fileInput.type = "file"; fileInput.multiple = true; + // @ts-ignore Non-standard fileInput.webkitdirectory = directory; // @ts-ignore Non-standard fileInput.directory = directory; diff --git a/package.json b/package.json index 74179012..83c54a66 100644 --- a/package.json +++ b/package.json @@ -119,7 +119,7 @@ "style-loader": "^0.23.1", "tinyqueue": "^1.2.3", "travis-weigh-in": "^1.0.2", - "typescript": "^3.0.1", + "typescript": "^3.2.2", "uglifyjs-webpack-plugin": "^1.2.5", "unminified-webpack-plugin": "^2.0.0", "url-loader": "^1.1.2", diff --git a/yarn.lock b/yarn.lock index f3cd46b3..14784973 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8549,9 +8549,9 @@ typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" -typescript@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.1.tgz#43738f29585d3a87575520a4b93ab6026ef11fdb" +typescript@^3.2.2: + version "3.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.2.tgz#fe8101c46aa123f8353523ebdcf5730c2ae493e5" ua-parser-js@^0.7.9: version "0.7.17"