re-nav/source/background-scripts/commands.ts

8 lines
228 B
TypeScript
Raw Normal View History

import {toggleAllRedirects} from '../utilities/toggle-all-redirects.js';
export async function onCommandsHandler(command: string): Promise<void> {
if (command === 'toggleAllRedirects') {
await toggleAllRedirects();
}
}