Skip to content

Commit

Permalink
[lodash] Fix typos in DebouncedFunc comments (#53157)
Browse files Browse the repository at this point in the history
  • Loading branch information
msmolens committed May 21, 2021
1 parent 43ec056 commit 8d4f9d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions types/lodash/common/function.d.ts
Expand Up @@ -375,21 +375,21 @@ declare module "../index" {
* If the debounced function can be run immediately, this calls it and returns its return
* value.
*
* Otherwise, it returns the return value of the last invokation, or undefined if the debounced
* Otherwise, it returns the return value of the last invocation, or undefined if the debounced
* function was not invoked yet.
*/
(...args: Parameters<T>): ReturnType<T> | undefined;

/**
* Throw away any pending invokation of the debounced function.
* Throw away any pending invocation of the debounced function.
*/
cancel(): void;

/**
* If there is a pending invokation of the debounced function, invoke it immediately and return
* If there is a pending invocation of the debounced function, invoke it immediately and return
* its return value.
*
* Otherwise, return the value from the last invokation, or undefined if the debounced function
* Otherwise, return the value from the last invocation, or undefined if the debounced function
* was never invoked.
*/
flush(): ReturnType<T> | undefined;
Expand Down

0 comments on commit 8d4f9d4

Please sign in to comment.