UNPKG

@lonli-lokli/scroll-restoration

Version:

A lightweight, framework-agnostic scroll restoration solution for React applications.

6 lines (5 loc) 362 B
import { NonNullableUpdater } from './shapes'; export declare function getCssSelector(el: Element): string; export declare function functionalUpdate<T>(updater: NonNullableUpdater<T>, value: T): T; export declare function throttle<T extends (...args: any[]) => any>(func: T, wait: number): (...args: Parameters<T>) => void; //# sourceMappingURL=helpers.d.ts.map