diff --git a/app/actions/server.ts b/app/actions/server.ts index 3661892d..da8ee6d4 100644 --- a/app/actions/server.ts +++ b/app/actions/server.ts @@ -54,7 +54,7 @@ export function selectServerFailure(): Action { }; } -export function serverRequest(server: string, username = null, fromServerHistory = false): IServer { +export function serverRequest(server: string, username: string | null = null, fromServerHistory = false): IServer { return { type: SERVER.REQUEST, server,