Interface IStorage

本地存储的接口。

Hierarchy

  • IStorage

Properties

getItem: ((key) => ItemValue)

Type declaration

removeItem: ((key) => void)

Type declaration

    • (key): void
    • Parameters

      • key: string

      Returns void

setItem: ((key, value) => void)

Type declaration

    • (key, value): void
    • Parameters

      • key: string
      • value: string

      Returns void

Generated using TypeDoc