(key: string, value: string)
| 98 | } |
| 99 | |
| 100 | function write(key: string, value: string) { |
| 101 | if (typeof localStorage !== "object") return |
| 102 | try { |
| 103 | localStorage.setItem(key, value) |
| 104 | } catch {} |
| 105 | } |
| 106 | |
| 107 | function drop(key: string) { |
| 108 | if (typeof localStorage !== "object") return |
no test coverage detected