(key: string)
| 48 | }; |
| 49 | |
| 50 | const removeKey = (key: string): void => { |
| 51 | try { |
| 52 | storageWrapper.removeItem(key); |
| 53 | } catch { |
| 54 | // Storage blocked |
| 55 | } |
| 56 | }; |
| 57 | |
| 58 | // Marks a key so an event fires once per browser; false when it already had |
| 59 | const markOnce = (key: string): boolean => { |
no outgoing calls
no test coverage detected