TypeScript/tests/baselines/reference/commentsOnObjectLiteral2.errors.txt
2014-09-12 13:35:07 -07:00

18 lines
611 B
Plaintext

tests/cases/compiler/commentsOnObjectLiteral2.ts(1,14): error TS2304: Cannot find name 'makeClass'.
==== tests/cases/compiler/commentsOnObjectLiteral2.ts (1 errors) ====
var Person = makeClass(
~~~~~~~~~
!!! error TS2304: 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;
} /* trailing comment 1*/,
}
);