File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { truncate } from './string';
1313 * @param source An object that contains a method to be wrapped.
1414 * @param name The name of the method to be wrapped.
1515 * @param replacementFactory A higher-order function that takes the original version of the given method and returns a
16- * wrapped verstion . Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to
16+ * wrapped version . Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to
1717 * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, <other
1818 * args>)` or `origMethod.apply(this, [<other args>])` (rather than being called directly), again to preserve `this`.
1919 * @returns void
You can’t perform that action at this time.
0 commit comments