@splidejs/svelte-splide
Version:
Svelte component for the Splide slider/carousel.
10 lines (9 loc) • 416 B
TypeScript
/**
* Iterates over the provided object by own enumerable keys with calling the iteratee function.
*
* @param object - An object to iterate over.
* @param iteratee - An iteratee function that takes the value and key as arguments.
*
* @return A provided object itself.
*/
export declare function forOwn<T extends object>(object: T, iteratee: (value: T[keyof T], key: keyof T) => boolean | void): T;