Skip to content

Commit

Permalink
Update typings to async
Browse files Browse the repository at this point in the history
  • Loading branch information
DustinBrett committed Jan 13, 2025
1 parent 25b9d97 commit f5720f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/system/Files/FileManager/useFolder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ import {
import { type CaptureTriggerEvent } from "contexts/menu/useMenuContextState";

export type FileActions = {
archiveFiles: (paths: string[]) => void;
archiveFiles: (paths: string[]) => Promise<void>;
deleteLocalPath: (path: string) => Promise<void>;
downloadFiles: (paths: string[]) => void;
extractFiles: (path: string) => void;
downloadFiles: (paths: string[]) => Promise<void>;
extractFiles: (path: string) => Promise<void>;
newShortcut: (path: string, process: string) => void;
renameFile: (path: string, name?: string) => void;
renameFile: (path: string, name?: string) => Promise<void>;
};

export type CompleteAction = "rename" | "updateUrl";
Expand Down

0 comments on commit f5720f6

Please sign in to comment.