Skip to content

Commit 6729773

Browse files
Gudahttmcmire
andcommitted
Fix typos
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
1 parent 6a04f54 commit 6729773

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/messenger/src/Messenger.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export class Messenger<
216216
* This will make the registered function available to call via the `call` method.
217217
*
218218
* @deprecated Do not call this directly, instead use the `delegate` method.
219-
* @param actionType - The action type. This is a unqiue identifier for this action.
219+
* @param actionType - The action type. This is a unique identifier for this action.
220220
* @param handler - The action handler. This function gets called when the `call` method is
221221
* invoked with the given action type.
222222
* @throws Will throw when a handler has been registered for this action type already.
@@ -271,7 +271,6 @@ export class Messenger<
271271
* @param actionType - The action type. This is a unique identifier for this action.
272272
* @template ActionType - A type union of Action type strings.
273273
*/
274-
275274
unregisterActionHandler<
276275
ActionType extends Action['type'] & NamespacedName<Namespace>,
277276
>(actionType: ActionType) {

0 commit comments

Comments
 (0)