(keys: string[])
| 23 | } |
| 24 | |
| 25 | async function restoreHighlights(keys: string[]): Promise<void> { |
| 26 | const hiddenHighlights = await getHiddenHighlights(); |
| 27 | const update = Array.from(new Set([...hiddenHighlights.filter((h) => !keys.includes(h))])); |
| 28 | await writeLocalStorage({[KEY_UI_HIDDEN_HIGHLIGHTS]: update}); |
| 29 | } |
| 30 | |
| 31 | export default { |
| 32 | getHighlightsToShow, |
nothing calls this directly
no test coverage detected