Fixed typescript lint issues

This commit is contained in:
RemixDev 2022-08-19 21:21:58 +02:00
parent 88ee7ad976
commit f88bfebe02
No known key found for this signature in database
GPG Key ID: B33962B465BDB51C
1 changed files with 3 additions and 3 deletions

View File

@ -122,11 +122,11 @@ export class DeemixApp {
const latestVersionObj: any = this.parseVersion(this.latestVersion) const latestVersionObj: any = this.parseVersion(this.latestVersion)
if (currentVersionObj === null || latestVersionObj === null) return false if (currentVersionObj === null || latestVersionObj === null) return false
if (latestVersionObj.year > currentVersionObj.year) return true if (latestVersionObj.year > currentVersionObj.year) return true
let sameDate = latestVersionObj.year == currentVersionObj.year let sameDate = latestVersionObj.year === currentVersionObj.year
if (sameDate && latestVersionObj.month > currentVersionObj.month) return true if (sameDate && latestVersionObj.month > currentVersionObj.month) return true
sameDate = sameDate && latestVersionObj.month == currentVersionObj.month sameDate = sameDate && latestVersionObj.month === currentVersionObj.month
if (sameDate && latestVersionObj.day > currentVersionObj.day) return true if (sameDate && latestVersionObj.day > currentVersionObj.day) return true
sameDate = sameDate && latestVersionObj.day == currentVersionObj.day sameDate = sameDate && latestVersionObj.day === currentVersionObj.day
if (sameDate && latestVersionObj.revision > currentVersionObj.revision) return true if (sameDate && latestVersionObj.revision > currentVersionObj.revision) return true
if ( if (
latestVersionObj.revision === currentVersionObj.revision && latestVersionObj.revision === currentVersionObj.revision &&