Update JSDOC

pull/73/head
MillenniumEarl 2021-03-02 20:56:48 +01:00
parent b54566350a
commit cb9b0b1207
1 changed files with 6 additions and 6 deletions

View File

@ -10,17 +10,17 @@ import { IBasic, TAuthor, TEngine, TExternalPlatform, TStatus } from "../interfa
import shared, { TPrefixDict } from "../shared.js"; import shared, { TPrefixDict } from "../shared.js";
import { ILink, IPostElement } from "./post-parse.js"; import { ILink, IPostElement } from "./post-parse.js";
export async function getHandiworkInformation<T extends IBasic>(url: string): Promise<T>
export async function getHandiworkInformation<T extends IBasic>(url: string): Promise<T>
/** /**
* Gets information of a particular handiwork from its thread. * Gets information of a particular handiwork from its thread.
* *
* If you don't want to specify the object type, use `HandiWork`. * If you don't want to specify the object type, use `HandiWork`.
* *
* @todo It does not currently support assets. * @todo It does not currently support assets.
*/ */
export async function getHandiworkInformation<T extends IBasic>(url: string): Promise<T>
export async function getHandiworkInformation<T extends IBasic>(url: string): Promise<T>
export default async function getHandiworkInformation<T extends IBasic>(arg: string | Thread): Promise<T> { export default async function getHandiworkInformation<T extends IBasic>(arg: string | Thread): Promise<T> {
// Local variables // Local variables
let thread: Thread = null; let thread: Thread = null;