F95API/scripts/search.d.ts

12 lines
313 B
TypeScript
Raw Normal View History

2021-03-05 11:27:36 +00:00
import { IBasic, IQuery } from "./interfaces.js";
/**
* Gets the handiworks that match the passed parameters.
* You *must* be logged.
* @param {Number} limit
* Maximum number of items to get. Default: 30
*/
2021-03-05 12:06:09 +00:00
export default function search<T extends IBasic>(
query: IQuery,
limit?: number
): Promise<T[]>;