(Deprecated) Instagram Source Opener

Open the original source of an IG post, story or profile picture

< Feedback on (Deprecated) Instagram Source Opener

Review: Good - script works

FFW
§
Posted: 19.6.2022

A question related to styling your code.

Very neat style actually. What tools are you using to help you create these comments? or do you write these all manually?


    /**
     * Fetches the current stories from a user
     * @param {string} username
     * @param {boolean} cacheFirst Whether to check the cache before making the request
     * @returns {Promise<{ url: string; thumbnailUrl: string; dateTime: string; relativeTime: string }[]>}
     */

And Thank you.

jomifepeAuthor
§
Posted: 19.6.2022

Thank you, these are JSDoc/TSDoc comments. Usually, IDEs or code editors format them if you write "/**" and hit enter.

The format can be found on https://jsdoc.app/ and https://tsdoc.org/.

FFW
§
Posted: 19.6.2022

Will try these. Thank you very much.

Post reply

Sign in to post a reply.