(keys: string[])
| 17 | } |
| 18 | |
| 19 | async function hideHighlights(keys: string[]): Promise<void> { |
| 20 | const hiddenHighlights = await getHiddenHighlights(); |
| 21 | const update = Array.from(new Set([...hiddenHighlights, ...keys])); |
| 22 | await writeLocalStorage({[KEY_UI_HIDDEN_HIGHLIGHTS]: update}); |
| 23 | } |
| 24 | |
| 25 | async function restoreHighlights(keys: string[]): Promise<void> { |
| 26 | const hiddenHighlights = await getHiddenHighlights(); |
nothing calls this directly
no test coverage detected