Skip to content

Commit

Permalink
Improve autocomplete when importing this module
Browse files Browse the repository at this point in the history
Typing `cache.` now should prompt VS Code users to automatically import this module.
  • Loading branch information
fregante committed Jan 9, 2020
1 parent afd4a2f commit ff8d55b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,12 @@ function init(): void {

init();

export default {
const cache = {
has,
get,
set,
function: function_,
delete: delete_
};

export default cache;

0 comments on commit ff8d55b

Please sign in to comment.