diff options
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' +} |