Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
17 lines
517 B
Plaintext
17 lines
517 B
Plaintext
import { RequestTransformer } from "../../types/request.cjs";
|
|
import { RestCommand } from "../types.cjs";
|
|
|
|
//#region src/rest/helpers/with-options.d.ts
|
|
|
|
/**
|
|
* Add arbitrary options to a fetch request
|
|
*
|
|
* @param getOptions
|
|
* @param onRequest
|
|
*
|
|
* @returns
|
|
*/
|
|
declare function withOptions<Schema, Output>(getOptions: RestCommand<Output, Schema>, extraOptions: RequestTransformer | Partial<RequestInit>): RestCommand<Output, Schema>;
|
|
//#endregion
|
|
export { withOptions };
|
|
//# sourceMappingURL=with-options.d.cts.map |