15 lines
468 B
Plaintext
15 lines
468 B
Plaintext
==== 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;
|
|
},
|
|
}
|
|
); |