[Salsa] Support jsdoc `@namespace`
See original GitHub issueSupport treating variable declarations with @namespace
JSDoc tag as TS namespaces.
/** @namespace */
var Documents = {
/**
* An ordinary newspaper.
*/
Newspaper: 1,
/**
* My diary.
* @private
*/
Diary: 2
};
Issue Analytics
- State:
- Created 7 years ago
- Reactions:23
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Use JSDoc: @namespace
Overview. The @namespace tag indicates that an object creates a namespace for its members. You can also write a virtual JSDoc comment that...
Read more >Type-safe JavaScript code with JsDoc - Prisma
JsDoc improves code documentation in a more structured manner using tags to describe arguments, return values, namespaces, modules, etc.
Read more >Joshua's Docs - JSDoc Cheatsheet and Type Safety Tricks
Cheatsheet on using JSDoc, especially with VSCode, and some tips on type safety and advanced usage.
Read more >Namespace: OData - JSDoc - SAP Help Portal
sap. OData. Provides the ability to offline OData services. The plugin provides the client with the ability to define offline stores for an...
Read more >ioK - ALBA.Net
... Jsdoc namespace, Cariddi nardulli filmografia, P38 range rover battery! ... Norra bantorget hotel stockholm, Alpha support services ltd, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
you can just use:
Just here to say that I expected the following to work in a Javascript file and it didn’t work:
as a not very obvious workaround, I used
instead.
It would be good if the first version using
@namespace
worked.