UNPKG

mock-violentmonkey

Version:

Mock violentmonkey's globals for testing userscripts

8 lines (7 loc) 192 B
/** * Create a new tab instance * * @returns Returns what the callback returns */ declare const tabContext: <ReturnV>(callback: () => ReturnV) => ReturnV; export { getTabId, tabContext };