Skip to content

Commit

Permalink
Fix typo in docs (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelass authored Mar 15, 2024
1 parent ff1cc63 commit b557abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export default class Conf<T extends Record<string, any> = Record<string, unknown
/**
Watches the given `key`, calling `callback` on any changes.
@param key - The key wo watch.
@param key - The key to watch.
@param callback - A callback function that is called on any changes. When a `key` is first set `oldValue` will be `undefined`, and when a key is deleted `newValue` will be `undefined`.
@returns A function, that when called, will unsubscribe.
*/
Expand Down

0 comments on commit b557abb

Please sign in to comment.