haunted
Version:
Hooks for web components
10 lines (9 loc) • 353 B
TypeScript
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 };