Variable defaultConst

default: WretchAddon<BasicAuthAddon> = ...

Adds the ability to use basic auth with the Authorization header.

import BasicAuthAddon from "wretch/addons/basicAuth"

wretch().addon(BasicAuthAddon)