2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-10-19 04:55:19 +00:00

fix: dialog binds not returning a promise

This commit is contained in:
Jan Laupetin
2025-10-11 15:30:19 +01:00
parent b27b7e77bd
commit 7cefaee41c

View File

@@ -12,7 +12,7 @@ export interface SaveFileDialogDto {
}
export interface DialogBinds {
openFileDialog(options?: OpenFileDialogDto): string | null;
saveFileDialog(options?: SaveFileDialogDto): string | null;
folderSelectDialog(): string | null;
openFileDialog(options?: OpenFileDialogDto): Promise<string | null>;
saveFileDialog(options?: SaveFileDialogDto): Promise<string | null>;
folderSelectDialog(): Promise<string | null>;
}