(key: string)
| 39 | }; |
| 40 | |
| 41 | const removeKey = (key: string): void => { |
| 42 | try { |
| 43 | storageWrapper.removeItem(key); |
| 44 | } catch { |
| 45 | // Storage blocked |
| 46 | } |
| 47 | }; |
| 48 | |
| 49 | // Marks a key so an event fires once per browser; false when it already had |
| 50 | const markOnce = (key: string): boolean => { |
no outgoing calls
no test coverage detected