UNPKG

@splidejs/splide

Version:

Splide is a lightweight, flexible and accessible slider/carousel. No dependencies, no Lighthouse errors.

10 lines (7 loc) 248 B
import { AnyFunction } from '../../../types'; /** * Invokes the callback on the next tick. * * @param callback - A callback function. */ export const nextTick: ( callback: AnyFunction ) => ReturnType<typeof setTimeout> = setTimeout;