fix: enhance scrollTo ts type
https://github.com/react-component/virtual-list/blob/fe039bfb4b3b00a8136c463616abd6000f16816c/src/hooks/useScrollTo.tsx#L21-L25
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/react-component/virtual-list/et0v166me
✅ Preview: https://virtual-list-git-patch-1.react-component.now.sh
Codecov Report
Merging #91 (113f8e8) into master (d2bc792) will not change coverage. The diff coverage is
n/a.
:exclamation: Current head 113f8e8 differs from pull request most recent head 94f615c. Consider uploading reports for the commit 94f615c to get more accurate results
@@ Coverage Diff @@
## master #91 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 15 15
Lines 480 470 -10
Branches 91 89 -2
=========================================
- Hits 480 470 -10
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/List.tsx | 100.00% <ø> (ø) |
|
| src/mock.tsx | 100.00% <0.00%> (ø) |
|
| src/ScrollBar.tsx | 100.00% <0.00%> (ø) |
|
| src/utils/CacheMap.ts | 100.00% <0.00%> (ø) |
|
| src/hooks/useHeights.tsx | 100.00% <0.00%> (ø) |
|
| src/hooks/useMobileTouchMove.ts | 100.00% <0.00%> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated |
|---|---|---|---|
| virtual-list | ✅ Ready (Inspect) | Visit Preview | Nov 13, 2022 at 1:04AM (UTC) |