@microsoft/omnichannel-chat-sdk
Version:
Microsoft Omnichannel Chat SDK
15 lines • 519 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var StopWatch = /** @class */ (function () {
function StopWatch() {
}
StopWatch.prototype.start = function () {
this.timeStart = new Date().getTime();
};
StopWatch.prototype.stop = function () {
return new Date().getTime() - this.timeStart; // eslint-disable-line @typescript-eslint/no-non-null-assertion
};
return StopWatch;
}());
exports.default = StopWatch;
//# sourceMappingURL=StopWatch.js.map