Files
2026-05-29 14:48:36 +08:00

1 line
129 B
TypeScript

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