We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1ddd82 commit 28a6416Copy full SHA for 28a6416
src/List.tsx
@@ -37,7 +37,7 @@ export interface ScrollInfo {
37
38
export type ScrollConfig = ScrollTarget | ScrollPos;
39
40
-export type ScrollTo = (arg: number | ScrollConfig) => void;
+export type ScrollTo = (arg?: number | ScrollConfig | null) => void;
41
42
export type ListRef = {
43
nativeElement: HTMLDivElement;
0 commit comments