15 lines
No EOL
468 B
Text
15 lines
No EOL
468 B
Text
==== tests/cases/compiler/commentsOnObjectLiteral2.ts (1 errors) ====
|
|
var Person = makeClass(
|
|
~~~~~~~~~
|
|
!!! Cannot find name '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;
|
|
},
|
|
}
|
|
); |