fix: build failing issue

This commit is contained in:
abhijithvijayan
2020-02-09 22:18:00 +05:30
parent 24e206bb2b
commit be7d498123
2 changed files with 2 additions and 2 deletions

View File

@@ -161,7 +161,7 @@ async function checkApiKey(apikey: string): Promise<SuccessfulApiKeyCheckPropert
/**
* Listen for messages from UI
*/
browser.runtime.onMessage.addListener((request, sender): void | Promise<any> => {
browser.runtime.onMessage.addListener((request, _sender): void | Promise<any> => {
console.log('message received', request);
// eslint-disable-next-line default-case

View File

@@ -3,7 +3,7 @@ import { browser, Storage } from 'webextension-polyfill-ts';
import { DomainEntryProperties } from '../Background';
// Core Extensions settings props
type ExtensionSettingsProperties = {
export type ExtensionSettingsProperties = {
apikey: string;
autocopy: boolean;
history: boolean;