Class Storage<Mapping>

Type Parameters

  • Mapping extends Record<keyof unknown, unknown>

Hierarchy

  • Storage

Constructors

Properties

Methods

Constructors

Properties

prefix: undefined | string | string[] = ''
storage: Storage

Methods

  • Type Parameters

    • Key extends string | number | symbol

    • Value = Mapping[Key]

    Parameters

    • key: Key

    Returns null | Value

  • Parameters

    • key: string | number | symbol

    Returns string

  • Type Parameters

    • Key extends string | number | symbol

    Parameters

    • key: Key

    Returns void

  • Type Parameters

    • Key extends string | number | symbol

    • Value = Mapping[Key]

    Parameters

    • key: Key
    • value: Value

    Returns void

Generated using TypeDoc