2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/commentsOnObjectLiteral2.ts(1,14): error TS2304: Cannot find name 'makeClass'.
|
|
|
|
|
|
|
|
|
2014-07-23 02:14:33 +02:00
|
|
|
==== tests/cases/compiler/commentsOnObjectLiteral2.ts (1 errors) ====
|
|
|
|
var Person = makeClass(
|
|
|
|
~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'makeClass'.
|
2014-07-23 02:14:33 +02:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
This is just another way to define a constructor.
|
|
|
|
@constructs
|
|
|
|
@param {string} name The name of the person.
|
|
|
|
*/
|
|
|
|
initialize: function(name) {
|
|
|
|
this.name = name;
|
2014-08-15 22:30:26 +02:00
|
|
|
} /* trailing comment 1*/,
|
2014-07-23 02:14:33 +02:00
|
|
|
}
|
|
|
|
);
|