TypeScript/tests/cases/compiler/commentsOnObjectLiteral2.ts
2014-08-15 13:30:26 -07:00

13 lines
No EOL
330 B
TypeScript

// @comments: true
var Person = makeClass(
{
/**
This is just another way to define a constructor.
@constructs
@param {string} name The name of the person.
*/
initialize: function(name) {
this.name = name;
} /* trailing comment 1*/,
}
);