Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyraspopov committed Oct 17, 2023
1 parent 7144ff9 commit 3ad9b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inertial.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type Scope = {
/** */
watch: (cb: (() => void) | (() => () => void)) => void;
/** Get signal values inside derive/watch functions without tracking dependencies */
peek: <Value>(get: () => Value) => Value;
peek: <Value>(get: Signal<Value> | (() => Value)) => Value;
/** Update multiple signals at once before performing the update cycle */
batch: (fn: () => void) => void;
/** Dispose all scope's observables and effects */
Expand Down

0 comments on commit 3ad9b69

Please sign in to comment.