requestDefaultsMiddleware

Source
import { requestDefaultsMiddleware } from "@prestojs/rest";
requestDefaultsMiddleware<T>(next,urlConfig,requestInit)
Source