You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
The only example I can find out on the web with comments and annotations is on the Comdoc site https://compodoc.app/guides/jsdoc-tags.html which would be the 1st entry below.
/**
* Description.
*/
@Component({...})
class MyClass{...}
Or would this be written as
@Component({...})
/**
* Description.
*/
class MyClass{...}
The text was updated successfully, but these errors were encountered:
RyanCavanaugh
changed the title
TypeScript commenting with Annotations
Document JSDoc examples with decorators
Jul 31, 2019
/** You should see this when you hover on greeter */
@sealedclassGreeter{}
@sealed/** You won't see this when you hover on greeter */classGreeterTwo{}functionsealed(constructor: Function){Object.seal(constructor);Object.seal(constructor.prototype);}
Suggestion
I would like to see your page https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html#supported-jsdoc updated to reflect what the proper format is for comments when annotations are in use.
Examples
The only example I can find out on the web with comments and annotations is on the Comdoc site https://compodoc.app/guides/jsdoc-tags.html which would be the 1st entry below.
Or would this be written as
The text was updated successfully, but these errors were encountered: