first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
type AnyFunction = (...args: any[]) => any;
/**
* Designed to approximate the behavior on `experimental_useEffectEvent` as best
* as possible until its stable release, and back-fill it as a shim as needed.
*/
declare function useEffectEvent<T extends AnyFunction>(callback?: T): T;
export { useEffectEvent };