@filesrocket/core
Version:
Manage your files with any cloud storage service (Clodinary, Amazon S3).
19 lines • 401 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Counter = void 0;
class Counter {
constructor() {
this.value = 0;
}
increment() {
this.value++;
}
decrement() {
this.value--;
}
get isZero() {
return this.value === 0;
}
}
exports.Counter = Counter;
//# sourceMappingURL=counter.js.map