View on GitHub

tab-info-extension

Home > tab-info > ContentChromeRuntimeAPI

ContentChromeRuntimeAPI type

The subset of the chrome.runtime extension API that the content script makes use of

Signature:

export declare type ContentChromeRuntimeAPI = Pick<typeof chrome.runtime, 'sendMessage'> & {
    onMessage: ContentChromeRuntimeOnMessageAPI;
};

References: ContentChromeRuntimeOnMessageAPI