eslint cleanup
This commit is contained in:
parent
922383e232
commit
c419d15907
37 changed files with 42 additions and 47 deletions
|
@ -6,7 +6,7 @@ import { cleanDirectoryPath } from '@/helpers';
|
|||
export interface ServerFileStore {
|
||||
directory: string;
|
||||
contents: FileObject[];
|
||||
getDirectoryContents: Thunk<ServerFileStore, string, {}, ServerStore, Promise<void>>;
|
||||
getDirectoryContents: Thunk<ServerFileStore, string, Record<string, unknown>, ServerStore, Promise<void>>;
|
||||
setContents: Action<ServerFileStore, FileObject[]>;
|
||||
pushFile: Action<ServerFileStore, FileObject>;
|
||||
removeFile: Action<ServerFileStore, string>;
|
||||
|
|
|
@ -14,7 +14,7 @@ interface ServerDataStore {
|
|||
data?: Server;
|
||||
permissions: string[];
|
||||
|
||||
getServer: Thunk<ServerDataStore, string, {}, ServerStore, Promise<void>>;
|
||||
getServer: Thunk<ServerDataStore, string, Record<string, unknown>, ServerStore, Promise<void>>;
|
||||
setServer: Action<ServerDataStore, Server>;
|
||||
setPermissions: Action<ServerDataStore, string[]>;
|
||||
}
|
||||
|
|
Reference in a new issue