mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: new FS API not working on Linux (#4280)
This commit is contained in:
parent
59e9651547
commit
1c11df011a
2 changed files with 4 additions and 2 deletions
|
@ -22,7 +22,7 @@ const INPUT_CHANGE_INTERVAL_MS = 500;
|
|||
|
||||
export const fileOpen = <M extends boolean | undefined = false>(opts: {
|
||||
extensions?: FILE_EXTENSION[];
|
||||
description?: string;
|
||||
description: string;
|
||||
multiple?: M;
|
||||
}): Promise<
|
||||
M extends false | undefined ? FileWithHandle : FileWithHandle[]
|
||||
|
@ -94,7 +94,7 @@ export const fileSave = (
|
|||
name: string;
|
||||
/** file extension */
|
||||
extension: FILE_EXTENSION;
|
||||
description?: string;
|
||||
description: string;
|
||||
/** existing FileSystemHandle */
|
||||
fileHandle?: FileSystemHandle | null;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue