Skip to content

Commit

Permalink
Merge pull request #210 from politie/fix-other-react-signature
Browse files Browse the repository at this point in the history
fix other $react signature
  • Loading branch information
yasinkocak authored Jun 22, 2021
2 parents 1e1f0bc + c316b90 commit caf353c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8,456 deletions.
2 changes: 1 addition & 1 deletion extensions/sherlock-proxy/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface DerivableProxy<V> {
$derive<R, P>(f: (v: V, ...ps: P[]) => R, ...ps: Array<MaybePacked<P>>): Derivable<R>;

/** {@see Derivable#react} */
$react(reaction: (value: V) => void, options?: Partial<ReactorOptions<V>>): () => void;
$react(reaction: (value: V, stop: () => void) => void, options?: Partial<ReactorOptions<V>>): () => void;
}

const IS_DERIVABLE_PROXY = Symbol('isDerivableProxy');
Expand Down
Loading

0 comments on commit caf353c

Please sign in to comment.