F95API/scripts/search.d.ts

9 lines
307 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:05:49 +00:00
export default function search<T extends IBasic>(query: IQuery, limit?: number): Promise<T[]>;