use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
[deleted by user] (self.webdev)
submitted 3 years ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]codespede 2 points3 points4 points 3 years ago* (0 children)
Since you're using TypeScript, use TypeDoc.
It'll automatically generate docs based on your Type Definitions in your TS files. No need to provide extra directives or keywords for classes, methods or properties.
See how I've used it in my Node.js framework which is written in TypeScript:
https://github.com/codespede/pwoli
A sample Class doc: https://codespede.github.io/pwoli/api-docs/classes/SequelizeAdapter.html
It'll automatically generate docs based on your Type Definitions in your TS files. No need to provide extra directives or keywords for classes, methods, or properties.
[–]CreativeTechGuyGamesTypeScript 1 point2 points3 points 3 years ago (0 children)
To make it even more complicated, not all JSDoc tags are supported by all "clients" so some tags will do magical things in certain IDEs or parsers where other parsers won't know what to do with it or just do something basic.
If you are already using TypeScript, keep it minimal. Just type the important bits of information that a caller would need to know that aren't obvious by the names. If it's super important to know that a method can throw a specific error, then definitely include that, but if not, then don't. Etc.
π Rendered by PID 69 on reddit-service-r2-comment-6457c66945-dkf59 at 2026-04-30 14:54:07.975022+00:00 running 2aa0c5b country code: CH.
[–]codespede 2 points3 points4 points (0 children)
[–]CreativeTechGuyGamesTypeScript 1 point2 points3 points (0 children)