@ffflorian/xkcdjs
Version:
An xkcd API client with a CLI.
14 lines (13 loc) • 360 B
TypeScript
import type { ClientOptions } from './Interfaces';
import { XKCDAPI } from './XKCDAPI';
export declare class XKCD {
readonly api: XKCDAPI;
private readonly apiClient;
private readonly options;
constructor(options?: ClientOptions);
/**
* Set a new API URL.
* @param url The new API URL.
*/
setApiUrl(url: string): void;
}