2026-03-09 06:28:03 +00:00

1 line
129 B
TypeScript

export default function memoize<ArgType = any, ReturnType = any>(fn: (arg: ArgType) => ReturnType): (arg: ArgType) => ReturnType;