Skip to content

Commit

Permalink
Add typescript support and update react peer dependency version
Browse files Browse the repository at this point in the history
  • Loading branch information
johndiiorio committed Aug 19, 2020
1 parent b87c0eb commit 4f7bab4
Show file tree
Hide file tree
Showing 9 changed files with 324 additions and 2,178 deletions.
6 changes: 0 additions & 6 deletions .babelrc

This file was deleted.

4 changes: 2 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.babelrc
.gitignore
src
rollup.config.js
rollup.config.js
tsconfig.json
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 John DiIorio
Copyright (c) 2020 John DiIorio

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import useInterval from 'react-useinterval';
function Counter() {
let [count, setCount] = useState(0);

const increaseCount = (amount = 1) => {
const increaseCount = amount => {
setCount(count + amount);
};

Expand Down
Loading

0 comments on commit 4f7bab4

Please sign in to comment.