Storage2

clear

RES
let clear: t => unit

getItem

RES
let getItem: (t, string) => option<string>

key

RES
let key: (t, int) => option<string>

length

RES
let length: t => int

localStorage

RES
let localStorage: t

removeItem

RES
let removeItem: (t, string) => unit

sessionStorage

RES
let sessionStorage: t

setItem

RES
let setItem: (t, string, string) => unit

t

RES
type t