From 16ebcf70c994881f40b9852493698d2a0af9e609 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 31 Jul 2020 09:41:19 -0600 Subject: [PATCH] Clean up documentation of Whenable --- src/utils/Whenable.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/Whenable.ts b/src/utils/Whenable.ts index afa220fe82..49f2571965 100644 --- a/src/utils/Whenable.ts +++ b/src/utils/Whenable.ts @@ -41,7 +41,7 @@ export abstract class Whenable implements IDestroyable { } /** - * Sets up a fall to `fn` *when* any of the `conditions` are met. + * Sets up a call to `fn` *when* any of the `conditions` are met. * @param conditions The conditions to match. * @param fn The function to call. * @returns This. @@ -64,7 +64,7 @@ export abstract class Whenable implements IDestroyable { } /** - * Notifies all the whenables of a given condition. + * Notifies all the listeners of a given condition. * @param condition The new condition that has been met. */ protected notifyCondition(condition: T) {