Skip to content

Commit 84af28c

Browse files
committed
fix: minor typo
1 parent 8f9f824 commit 84af28c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ An object with the following properties (Type def above):
274274
- $read - A readonly reactive reference to the current value of the subscription.
275275
- $addSub - A method for adding a subscriber to the subscription. It can be `async`. The subscriber is a function that will be executed whenever the value of the subscription changes. It can take the new value of the subscription as its argument.
276276
- $deleteSub - A method for removing a subscriber from the subscription.
277-
- $clearSub - A method for clearing all subscribers.
277+
- $clearSubs - A method for clearing all subscribers.
278278
- $triggerSubs - A method for manually triggering all subscribers. Should only be needed rarely.
279279
- $mutate - A method for updating the value of the subscription with a function that takes the current value as its argument and returns the new value. This should only be used for updating complex objects.
280280

0 commit comments

Comments
 (0)