Skip to content

Commit

Permalink
feat(project): add lodash.throttle dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
demmyhonore committed Apr 29, 2021
1 parent ccba942 commit be50781
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"dependencies": {
"classnames": "^2.3.1",
"lodash.throttle": "^4.1.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-query": "^3.13.10",
Expand Down
5 changes: 5 additions & 0 deletions types/static.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,8 @@ declare module '*.png' {
}

/* CUSTOM: ADD YOUR OWN HERE */

declare module 'lodash.throttle' {
const ref: function;
export default ref;
}
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5336,6 +5336,11 @@ lodash.sortby@^4.7.0:
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=

lodash.throttle@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4"
integrity sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ=

lodash.truncate@^4.4.2:
version "4.4.2"
resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193"
Expand Down

0 comments on commit be50781

Please sign in to comment.