From ee51dc5fc0dd5bdc2b0b9e10aa27607fbe51f491 Mon Sep 17 00:00:00 2001 From: Marco Rodolfi Date: Thu, 22 Jun 2023 17:27:14 +0200 Subject: [PATCH] fix: reposition parameter for file picker V2 --- src/plugin.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin.tsx b/src/plugin.tsx index 2ff6eea..ad8fa0d 100644 --- a/src/plugin.tsx +++ b/src/plugin.tsx @@ -67,6 +67,7 @@ export interface ServerAPI { toaster: Toaster; openFilePicker(startPath: string, includeFiles?: boolean, regex?: RegExp): Promise; openFilePickerV2( + select: FileSelectionType, startPath: string, includeFiles?: boolean, includeFolders?: boolean, @@ -75,7 +76,6 @@ export interface ServerAPI { showHiddenFiles?: boolean, allowAllFiles?: boolean, max?: number, - select?: FileSelectionType, ): Promise; callPluginMethod(methodName: string, args: TArgs): Promise>; callServerMethod(methodName: string, args: TArgs): Promise>;