UNPKG

@shibaoxu/shibaoxu-toy

Version:
19 lines (18 loc) 576 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Employee = void 0; var Employee = /** @class */ (function () { function Employee(name, age, department) { this.name = name; this.age = age; this.department = department; } Employee.prototype.echo = function () { return this.name + "/" + this.age + "/" + this.department; }; Employee.prototype.recordKpiResult = function (level) { console.log("The level is " + level); }; return Employee; }()); exports.Employee = Employee;