planning
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s

This commit is contained in:
2024-10-14 09:15:30 +02:00
parent bcba00a730
commit 6e64e138e2
21059 changed files with 2317811 additions and 1 deletions

22
node_modules/optimism/lib/entry.d.ts generated vendored Normal file
View File

@@ -0,0 +1,22 @@
import { OptimisticWrapOptions } from "./index";
declare type Value<T> = [] | [T] | [void, any];
export declare type AnyEntry = Entry<any, any>;
export declare class Entry<TArgs extends any[], TValue> {
readonly fn: (...args: TArgs) => TValue;
args: TArgs;
static count: number;
subscribe: OptimisticWrapOptions<TArgs>["subscribe"];
unsubscribe?: () => any;
reportOrphan?: (this: Entry<TArgs, TValue>) => any;
readonly parents: Set<Entry<any, any>>;
readonly childValues: Map<Entry<any, any>, Value<any>>;
dirtyChildren: Set<AnyEntry> | null;
dirty: boolean;
recomputing: boolean;
readonly value: Value<TValue>;
constructor(fn: (...args: TArgs) => TValue, args: TArgs);
recompute(): TValue;
setDirty(): void;
dispose(): void;
}
export {};