Storage

clear

RES
let clear: t => unit

getItem

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

key

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

length

RES
let length: t => int

localStorage

RES
let localStorage: t

removeItem

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

sessionStorage

RES
let sessionStorage: t

setItem

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

t

RES
type t = Dom_storage2.t