File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,11 @@ foreign import getItemForeign
8181 -> Eff (storage :: STORAGE | eff ) (Nullable String )
8282
8383-- | Add a new key/value pair to storage if a pair with the given key doesn't
84- -- | yet exist; otherwise, replace the existing value with the given key .
84+ -- | yet exist; otherwise, replace the existing pair .
8585-- |
8686-- | If a previous value is equal to the new value, this function does nothing.
87- -- | If this function can't set a new value, it throws an exception. Setting
88- -- | can fail if the user has disabled web storage, or if the storage quota has
87+ -- | If this function can't set a new value, it throws an exception. This can
88+ -- | occur if the user has disabled web storage, or if the storage quota has
8989-- | been exceeded, for example.
9090foreign import setItem
9191 :: forall eff
You can’t perform that action at this time.
0 commit comments