optimism
Version:
Composable reactive caching with efficient invalidation.
8 lines (7 loc) • 331 B
TypeScript
export type NoInfer<T> = [T][T extends any ? 0 : never];
export declare const hasOwnProperty: (v: PropertyKey) => boolean;
export declare const arrayFromSet: <T>(set: Set<T>) => T[];
export type Unsubscribable = {
unsubscribe?: void | (() => any);
};
export declare function maybeUnsubscribe(entryOrDep: Unsubscribable): void;