Reference

flushSync

Re-exports the React DOM rendering helpers exposed by the root entrypoint.

Signature

function flushSync<T>(callback: (): T): T