🐛 Fix: some bugs

ISSUES CLOSED: #722
This commit is contained in:
PiEgg
2021-08-21 10:42:52 +08:00
parent 2d3e779e0b
commit a676c083fe
8 changed files with 58 additions and 12 deletions

View File

@@ -27,7 +27,7 @@ declare global {
interface Global {
PICGO_GUI_VERSION: string
PICGO_CORE_VERSION: string
notificationList: IAppNotification[]
notificationList?: IAppNotification[]
}
}
}

View File

@@ -321,3 +321,7 @@ interface IAnalyticsData {
interface IStringKeyMap {
[propName: string]: any
}
type ILogArgvType = string | number
type ILogArgvTypeWithError = ILogArgvType | Error