diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-10-05 12:35:40 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-10-05 12:35:40 +0200 |
commit | 33839479e269bed905f9eefc374060b9d3ee7e19 (patch) | |
tree | f628200a10e5e37aa00f05cea2464eaf67df9581 /util/checkFileSystemCompatibility.ts | |
parent | b0ddf286f087b31dc75626f709cfce3889de25dd (diff) |
feat(preview): filesystem basics in place
Diffstat (limited to 'util/checkFileSystemCompatibility.ts')
-rw-r--r-- | util/checkFileSystemCompatibility.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/checkFileSystemCompatibility.ts b/util/checkFileSystemCompatibility.ts new file mode 100644 index 0000000..a96b68e --- /dev/null +++ b/util/checkFileSystemCompatibility.ts @@ -0,0 +1,3 @@ +export const checkFileSystemCompatibility = () => { + return typeof window.showDirectoryPicker !== 'undefined' +} |