Some checks failed
Remove old artifacts / remove-old-artifacts (push) Has been cancelled
8 lines
245 B
TypeScript
8 lines
245 B
TypeScript
import { AsyncResult } from '../utils/results.mjs';
|
|
|
|
declare function useAsyncExternalStore<T>(subscribe: (callback: (t: T) => void) => (() => void)): AsyncResult<T, never> & {
|
|
status: "ok" | "pending";
|
|
};
|
|
|
|
export { useAsyncExternalStore };
|