diff --git a/application/state/useSftpState.ts b/application/state/useSftpState.ts index cba63fb27..490518c23 100644 --- a/application/state/useSftpState.ts +++ b/application/state/useSftpState.ts @@ -288,7 +288,7 @@ export const useSftpState = (hosts: Host[], keys: SSHKey[]) => { // Get host credentials const getHostCredentials = useCallback( - (host: Host) => { + (host: Host): NetcattySSHOptions => { const key = host.identityFileId ? keys.find((k) => k.id === host.identityFileId) : null;