UNPKG
ethereum-lite-explorer
Version:
latest (1.0.0-beta.8)
1.0.0-beta.8
Ethereum Lite Explorer
ethereum-lite-explorer
/
src
/
app
/
util
/
storage
/
NullStorage.ts
14 lines
(12 loc)
•
285 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
{
IStorage
}
from
"./IStorage"
;
export
class
NullStorage
implements
IStorage
{
getItem
(
key
:
string
) {
return
null
; }
setItem
(
key
:
string
,
value
:
string
) {
// no implementation
}
removeItem
(
key
:
string
) {
// no implementation
} }