SpyThrottle: npm package update
Please, update npm package from master for spyThrottle usage. Thank you!
It's really confusing to be in the docs but not in the actual codebase!
@HannaBabrouskaya I'm not sure whats missing, but I've republished the project to npm.
@GabrielCTroia Please give some more details. The API and the examples, also the codepens are pretty straight forward.
Hey @fisshy thanks for this. I'll check out the new version on npm. My issue was that both the published types.ts and the runtime didn't have the spyThrottle method exposed for some reason, even though the docs and the current master version had it.
Hey @fisshy I'm experiencing the same issue - missing spyThrottle in the ts module, I did install the latest (v1.8.3) Any workaround for this?
@sarithgunathilaka I can't see why it shouldn't be there, could you provide a codepen/plunkr to demonstrate the issue?
Also, 1.8.6 is the latest. https://www.npmjs.com/package/react-scroll/v/1.8.6
1.8.3 is 8 months ago.
I think spyThrottle is missing from the types definition at https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-scroll
The type definition for spyThrottle has been added to DefinitelyTyped.
I think, You need to upgrade the version of @types/react-scroll to 1.8.7.