DEV Community

stagefright5
stagefright5

Posted on

@All WebDevs - Please Remove Your Type Definitions From the Top of The Page

It gets in the way of reading the code. It's mostly not helpful if I'm trying to get the gist of the code.
Please move it to the end of the file or maintain it in a separate file.

Top comments (2)

Collapse
 
jonrandy profile image
Jon Randy 🎖️

Or just use plain JS to avoid all that! 😉

Collapse
 
stagefright5 profile image
stagefright5

You can still have obstructive JSDoc comments 😅