Interface IMapEnhancer<T, S>

interface IMapEnhancer<T = unknown, S = unknown> {
    canMutateStorage?: boolean;
    equals(a: S, b: S, key: string): boolean;
    get(storage: S, key: string): T;
    set(value: T, key: string): S;
}

Type Parameters

  • T = unknown
  • S = unknown

Implemented by

Properties

Methods

Properties

canMutateStorage?: boolean

Methods

  • Parameters

    • a: S
    • b: S
    • key: string

    Returns boolean

  • Parameters

    • storage: S
    • key: string

    Returns T

  • Parameters

    • value: T
    • key: string

    Returns S

MMNEPVFCICPMFPCPTTAAATR