You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,8 @@ A library containing javascript utilities that we until now often copy between p
36
36
-[`cookieStorage`](#cookiestorage)
37
37
-[Cache](#cache)
38
38
-[`createInMemoryCache`](#createinmemorycache)
39
+
-[Types](#types)
40
+
-[`Serializable`](#serializable)
39
41
40
42
## Utilities
41
43
@@ -528,6 +530,24 @@ cache.clear();
528
530
cache.count();
529
531
```
530
532
533
+
## Types
534
+
535
+
### `Serializable`
536
+
537
+
An interface that can be used to only allow properties that are serializable. Usable for JSON serialization or as a validation for Redux global state data.
0 commit comments