Properties
totalSize
totalSize: number
Methods
clear
- clear(): void
-
Returns void
estimateSize
- estimateSize(key, value): number
-
Returns number
getItem
- getItem(key): T
-
Returns T
key
- key(index): string
-
Returns string
removeItem
- removeItem(key): void
-
Returns void
setItem
- setItem(key, value): void
-
Returns void
size
- size(key?): number
-
Returns number
A type-hinted Storage interface.