Skip to content

Commit

Permalink
chore(deps): update dependency typescript to ~3.2.0 (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and JustinBeckwith committed Nov 30, 2018
1 parent aeb3c71 commit 97d8680
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
"power-assert": "^1.6.0",
"prettier": "^1.14.0",
"source-map-support": "^0.5.6",
"typescript": "~3.1.0"
"typescript": "~3.2.0"
}
}
5 changes: 0 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
* See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/

'use strict';

const invalidKeyError = 'Invalid key. Only a string or number may be used.';
function isValidKey(key: Key) {
return typeof key === 'string' || typeof key === 'number';
Expand Down Expand Up @@ -42,9 +40,6 @@ export interface DataSet {
export class KVStore {
dataset: DataSet;
constructor(dataset: DataSet) {
if (!(this instanceof KVStore)) {
return new KVStore(dataset);
}
this.dataset = dataset;
}

Expand Down

0 comments on commit 97d8680

Please sign in to comment.