added an update checker button for library (#172)

* added an update checker button for library

* fixed import path

* fixed progress props to not be inline

* added error handling

* fixed linting issue
This commit is contained in:
amr
2022-04-18 10:26:36 +02:00
committed by GitHub
parent a0796d2a05
commit 365f28fee5
3 changed files with 78 additions and 0 deletions

9
src/typings.d.ts vendored
View File

@@ -187,6 +187,15 @@ interface IQueue {
queue: IDownloadChapter[]
}
interface IUpdateStatus {
running: boolean
statusMap: {
COMPLETE: number,
RUNNING: number,
PENDING: number
}
}
interface PreferenceProps {
key: string
title: string