Type Alias FlushSync

FlushSync: ((callback: (() => void)) => void)

FlushSync is a service for libraries like React to synchronously flush updates inside the provided callback to ensure the DOM is updated immediately.

https://react.dev/reference/react-dom/flushSync