Instead of having to write
import {HttpClient} from "@orashus/http-client";
const authHC = new HttpClient({
base_url: ["auth"],
});
developers could have the possibility of just using one parameter of type string | string[] which will default to the base_url
Like so!
import {HttpClient} from "@orashus/http-client";
const authHC = new HttpClient("auth");