Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

chore(deps): update dependency typescript to ~3.2.0 #72

Merged
merged 2 commits into from
Nov 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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