better-trakt
Version:
A Trakt.tv client with native Typescript support and quality of life features
16 lines • 537 B
TypeScript
import { FetchOptions } from './fetch';
/**
* Builds an api uri with specified http queries
* @remarks
* While this can be easily achieved with axios,
* the goal is to provide as agnostic of an api
* as possible. This enables the easy replacement of
* axios with say, the fetch api.
*
* @param baseUrl api uri
* @param options query options, access token is ignored
* @returns "built" uri
* @internal
*/
export declare function buildUrl(baseUrl: string, options?: FetchOptions): string;
//# sourceMappingURL=buildUrl.d.ts.map