toviszsolt / react-scrollspy

ScrollSpy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.
https://32jhvk.csb.app
MIT License
30 stars 5 forks source link

Please add TS Support #6

Closed its-monotype closed 2 years ago

toviszsolt commented 2 years ago

@youngtype you can add allowJs option to your tsconfig file. So this will solve your problem with all of available non-typescript packages.

Reference: https://www.typescriptlang.org/tsconfig#JavaScript_Support_6247