Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Typescript's /** @class */ have a purpose?

Tags:

I am learning typescript and I noticed that the compiled javascript has a comment for every class that looks like this: /** @class */

Example:

var Student = /** @class */ (function () {
    function Student(firstName, middleInitial, lastName) {
        this.firstName = firstName;
        this.middleInitial = middleInitial;
        this.lastName = lastName;
        this.fullName = firstName + " " + middleInitial + " " + lastName;
    }
    return Student;
}());

My question is does this comment have any functional value or is it just syntactical sugar? Also, If it does have a function, what is the function?