(id: string)
| 237 | } |
| 238 | |
| 239 | function persistWindowID(id: string) { |
| 240 | const ids = readWindowIDs() |
| 241 | if (ids.includes(id)) return |
| 242 | writeWindowIDs([...ids, id]) |
| 243 | } |
| 244 | |
| 245 | function removeWindowID(id: string) { |
| 246 | writeWindowIDs(readWindowIDs().filter((item) => item !== id)) |
no test coverage detected