Skip to content

Commit

Permalink
chore: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Jun 13, 2023
1 parent 4d544eb commit b28edb7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions declarations/util/memorize.d.ts
@@ -0,0 +1,7 @@
export default memoize;
/**
* @template T
* @param fn {(function(): any) | undefined}
* @returns {function(): T}
*/
declare function memoize<T>(fn: (() => any) | undefined): () => T;

0 comments on commit b28edb7

Please sign in to comment.