type Fn<T> = (key: string) => T

export default function memoize<T>(fn: Fn<T>): Fn<T>
