F95API/scripts/scrape-data/handiwork-parse.d.ts

13 lines
569 B
TypeScript
Raw Normal View History

2021-03-05 11:27:36 +00:00
import Thread from "../classes/mapping/thread.js";
import { IBasic } from "../interfaces.js";
2021-03-05 12:05:49 +00:00
export declare function getHandiworkInformation<T extends IBasic>(url: string): Promise<T>;
export declare function getHandiworkInformation<T extends IBasic>(url: string): Promise<T>;
2021-03-05 11:27:36 +00:00
/**
* Gets information of a particular handiwork from its thread.
*
* If you don't want to specify the object type, use `HandiWork`.
*
* @todo It does not currently support assets.
*/
2021-03-05 12:05:49 +00:00
export default function getHandiworkInformation<T extends IBasic>(arg: string | Thread): Promise<T>;