attachDebugger switched to typescript

This commit is contained in:
z0ccc 2022-08-01 21:43:40 -04:00
parent c084a61a7a
commit 8095255186

View file

@ -1,4 +1,4 @@
const attachDebugger = (tabId) => { const attachDebugger = (tabId: number) => {
chrome.storage.sync.get( chrome.storage.sync.get(
[ [
'ipData', 'ipData',
@ -41,7 +41,7 @@ const attachDebugger = (tabId) => {
() => { () => {
if ( if (
chrome.runtime.lastError && chrome.runtime.lastError &&
chrome.runtime.lastError.message.includes( chrome.runtime.lastError.message?.includes(
'Timezone override is already in effect' 'Timezone override is already in effect'
) )
) { ) {