Skip to content

Commit

Permalink
fix ts
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffreyChen777 committed Jan 9, 2024
1 parent 68bc53b commit 9e1968e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ const checkShouldShow = () => {
}
const scrapers = window.preference.get("scrapers");
const isCustomScraperExist = Object.values(scrapers).some(
(scraper) => scraper.custom
const isCustomScraperExist = Object.values(scrapers as any).some(
(scraper) => (scraper as any).custom
);
const downloaders = window.preference.get("downloaders");
const isCustomDownloaderExist = Object.values(downloaders).some(
(downloader) => downloader.custom
const isCustomDownloaderExist = Object.values(downloaders as any).some(
(downloader) => (downloader as any).custom
);
if (isCustomScraperExist || isCustomDownloaderExist) {
Expand Down

0 comments on commit 9e1968e

Please sign in to comment.