@clickup/rest-client
Version:
A syntax sugar tool around Node fetch() API, tailored to work with TypeScript and response validators
7 lines • 361 B
TypeScript
/**
* Allows to use URLs like /some/:abc/other and pass { abc: "xyz" } as one of
* body parameters. Such body parameters will be excluded from the body before
* sending the request (so they're "moved" into the URL).
*/
export default function substituteParams<TBody>(url: string, body: TBody): [string, TBody];
//# sourceMappingURL=substituteParams.d.ts.map