Skip to content

Commit

Permalink
Fix a TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Aug 13, 2020
1 parent 8b4299b commit 6ee8de5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions index.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ const typedStore = new Store<TypedStore>({
}
});

// TODO: This should not be `| undefined`.
expectType<number | undefined>(typedStore.get('interval'));
expectType<number>(typedStore.get('interval'));

const isEnabled = false;
typedStore.set('isEnabled', isEnabled);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"save"
],
"dependencies": {
"conf": "^7.1.1",
"conf": "^7.1.2",
"type-fest": "^0.16.0"
},
"devDependencies": {
Expand Down

0 comments on commit 6ee8de5

Please sign in to comment.