Options
All
  • Public
  • Public/Protected
  • All
Menu

Simple in-memory storage context that can be used as a fake Storage reference.

Hierarchy

  • StorageMap

Implements

  • Storage

Indexable

[name: string]: any

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly content

content: Map<string, string> = ...

Accessors

length

  • get length(): number

Methods

clear

  • clear(): void

getItem

  • getItem(key: string): null | string

key

  • key(index: number): string

keys

  • keys(): string[]

removeItem

  • removeItem(key: string): void

setItem

  • setItem(key: string, value: string): void

toJSON

  • toJSON(): {}

Generated using TypeDoc