F95API/scripts/fetch-data/fetch-query.d.ts

11 lines
289 B
TypeScript
Raw Normal View History

2021-03-05 11:27:36 +00:00
import { IQuery } from "../interfaces.js";
/**
* @param query Query used for the search
* @param limit Maximum number of items to get. Default: 30
* @returns URLs of the fetched games
*/
export default function getURLsFromQuery(
query: IQuery,
limit?: number
): Promise<string[]>;