updated types

This commit is contained in:
Darren Nelsen 2018-02-21 16:09:40 -05:00
parent bb84f03aaf
commit af42948f96
2 changed files with 6 additions and 2 deletions

View File

@ -93,7 +93,7 @@ export class RateProvider {
return this.alternatives;
}
public isAvailable(): boolean {
public isAvailable() {
return this.ratesAvailable;
}

View File

@ -35,7 +35,11 @@ export class ReleaseProvider {
};
}
public checkForUpdates(latestVersion: string, currentVersion?: string): any {
public checkForUpdates(latestVersion: string, currentVersion?: string): {
updateAvailable: boolean | null,
availableVersion: string | null,
error: string | null
} {
if (!currentVersion) currentVersion = this.appVersion;
let result = {