export const basicAuth = (username: string, password: string) => { return "Basic " + btoa(`${username}:${password}`); };