browser-fs-access
Advanced tools
Comparing version 0.20.3 to 0.20.4
@@ -22,2 +22,3 @@ /** | ||
id?: string; | ||
excludeAcceptAllOption?: boolean | false; | ||
} | ||
@@ -81,5 +82,5 @@ | ||
export function fileOpen<M extends boolean | undefined = false>( | ||
options?: O extends any[] | ||
? [FirstFileOpenOptions<M>, ...CoreFileOptions[]] | ||
: FirstFileOpenOptions<M> | ||
options?: | ||
| [FirstFileOpenOptions<M>, ...CoreFileOptions[]] | ||
| FirstFileOpenOptions<M> | ||
): M extends false | undefined | ||
@@ -104,5 +105,3 @@ ? Promise<FileWithHandle> | ||
blob: Blob, | ||
options?: O extends any[] | ||
? [FirstFileSaveOptions, ...CoreFileOptions[]] | ||
: FirstFileSaveOptions, | ||
options?: [FirstFileSaveOptions, ...CoreFileOptions[]] | FirstFileSaveOptions, | ||
/** | ||
@@ -109,0 +108,0 @@ * A potentially existing file handle for a file to save to. Defaults to |
{ | ||
"name": "browser-fs-access", | ||
"version": "0.20.3", | ||
"version": "0.20.4", | ||
"description": "File System Access API with legacy fallback in the browser.", | ||
@@ -5,0 +5,0 @@ "browser": "./dist/index.js", |
@@ -104,2 +104,4 @@ # Browser-FS-Access | ||
id: 'projects', | ||
// Include an option to not apply any filter in the file picker, defaults to `false`. | ||
excludeAcceptAllOption: true, | ||
}; | ||
@@ -142,2 +144,4 @@ | ||
id: 'projects', | ||
// Include an option to not apply any filter in the file picker, defaults to `false`. | ||
excludeAcceptAllOption: true, | ||
}; | ||
@@ -144,0 +148,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
31418
205
190