UNPKG

haunted

Version:
10 lines (9 loc) 353 B
import { State } from "./state"; /** * @function * @param {Effect} callback effecting callback * @param {unknown[]} [values] dependencies to the effect * @return {void} */ declare const useLayoutEffect: (callback: (this: State<unknown>) => void | Promise<void> | VoidFunction, values?: unknown[] | undefined) => void; export { useLayoutEffect };