Files
Panayot Cankov e135c20b14 Rename the files
2016-05-26 14:30:25 +03:00

8 lines
269 B
TypeScript

declare module "utils/lazy" {
/**
* A function that evaluates the action only once.
* @param action The action to be evaluated to get the result.
* Returns the evaluated result.
*/
export default function lazy<T>(action: () => T): () => T;
}