You are currently looking at the v8.2 - v9.0 docs (Reason v3.6 syntax edition). You can find the latest API docs here.
Storage
t
REStype t
getItem
RESexternal getItem: (string, t) => option<string> = "getItem"
setItem
RESexternal setItem: (string, string, t) => unit = "setItem"
removeItem
RESexternal removeItem: (string, t) => unit = "removeItem"
clear
RESexternal clear: t => unit = "clear"
key
RESexternal key: (int, t) => option<string> = "key"
length
RESexternal length: t => int = "length"
localStorage
RES@bs.val external localStorage: t = "localStorage"
sessionStorage
RES@bs.val external sessionStorage: t = "sessionStorage"