(key: K)
| 269 | } |
| 270 | |
| 271 | increment(key: K): void { |
| 272 | if (typeof this._total !== 'undefined') { |
| 273 | this._total++ |
| 274 | } |
| 275 | this.set(key, this.get(key) + 1) |
| 276 | } |
| 277 | |
| 278 | total(): number { |
| 279 | if (typeof this._total !== 'undefined') { |
no test coverage detected