source: frontend/node_modules/schema-utils/declarations/util/memorize.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 334 bytes
Line 
1export default memoize;
2export type FunctionReturning<T> = () => T;
3/**
4 * @template T
5 * @typedef {() => T} FunctionReturning
6 */
7/**
8 * @template T
9 * @param {FunctionReturning<T>} fn memorized function
10 * @returns {FunctionReturning<T>} new function
11 */
12declare function memoize<T>(fn: FunctionReturning<T>): FunctionReturning<T>;
Note: See TracBrowser for help on using the repository browser.