MCPcopy Index your code
hub / github.com/darkreader/darkreader / removeLocalStorage

Function removeLocalStorage

src/background/utils/extension-api.ts:152–158  ·  view source on GitHub ↗
(keys: string[])

Source from the content-addressed store, hash-verified

150}
151
152export async function removeLocalStorage(keys: string[]): Promise<void> {
153 return new Promise<void>((resolve) => {
154 chrome.storage.local.remove(keys, () => {
155 resolve();
156 });
157 });
158}
159
160export async function getCommands(): Promise<chrome.commands.Command[]> {
161 return new Promise<chrome.commands.Command[]>((resolve) => {

Callers 2

resetActivationMethod · 0.90

Calls 1

removeMethod · 0.65

Tested by

no test coverage detected