Function memoize

  • A property accessor decorator used for memoization of getters and methods.

    Returns (
        target: any,
        context: string | ClassMemberDecoratorContext,
        descriptor?: PropertyDescriptor,
    ) => void