diff --git a/src/scripts/classes/post.ts b/src/scripts/classes/post.ts index b34e9e8..08b59d7 100644 --- a/src/scripts/classes/post.ts +++ b/src/scripts/classes/post.ts @@ -67,13 +67,13 @@ export default class Post { //#region Public methods - /** - * Gets the post data starting from its unique ID for the entire platform. - */ public async fetchData(id: number): Promise; public async fetchData(article: cheerio.Cheerio): Promise; + /** + * Gets the post data starting from its unique ID for the entire platform. + */ public async fetchData(arg: number | cheerio.Cheerio): Promise { if (typeof arg === "number") { // Fetch HTML page containing the post