Triple Slash Comments (or equivalent)

Topics: General
Aug 13, 2013 at 10:01 PM
Has there been any talk of adding C#'s triple slash comments (or equivalent) to TypeScript? My understanding is that TypeScript aims to support application scale development, and it would be an incredibly desirable feature to be able to augment the metadata of my api with comments that consumers can read via tooltip.
Aug 14, 2013 at 1:50 AM
It's there, use jsdoc style:
/**
 * Some functionality
 *
 * @param name The name
 */
 function foo(name:string){
Information about Jsdoc syntax

This sample at Typescript playground
Aug 14, 2013 at 4:03 AM
Edited Aug 14, 2013 at 4:08 AM
Thank you!

Is there any way to have a template auto-generated for you in Visual Studio for functions, classes, interfaces and modules, much like one can do with the triple slash?
Aug 14, 2013 at 4:43 AM
Edited Aug 14, 2013 at 4:44 AM
Not yet, but you can vote for the feature here.