Move JSDOC

pull/73/head
MillenniumEarl 2021-03-02 16:18:59 +01:00
parent 8359958874
commit 5ed5885ce6
1 changed files with 3 additions and 3 deletions

View File

@ -67,13 +67,13 @@ export default class Post {
//#region Public methods //#region Public methods
/**
* Gets the post data starting from its unique ID for the entire platform.
*/
public async fetchData(id: number): Promise<void>; public async fetchData(id: number): Promise<void>;
public async fetchData(article: cheerio.Cheerio): Promise<void>; public async fetchData(article: cheerio.Cheerio): Promise<void>;
/**
* Gets the post data starting from its unique ID for the entire platform.
*/
public async fetchData(arg: number | cheerio.Cheerio): Promise<void> { public async fetchData(arg: number | cheerio.Cheerio): Promise<void> {
if (typeof arg === "number") { if (typeof arg === "number") {
// Fetch HTML page containing the post // Fetch HTML page containing the post