From 5ed5885ce64e912cb7930c0cc46738a22c9650d7 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Tue, 2 Mar 2021 16:18:59 +0100 Subject: [PATCH] Move JSDOC --- src/scripts/classes/post.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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