mirror of https://github.com/BTCPrivate/copay.git
updated types
This commit is contained in:
parent
bb84f03aaf
commit
af42948f96
|
@ -93,7 +93,7 @@ export class RateProvider {
|
|||
return this.alternatives;
|
||||
}
|
||||
|
||||
public isAvailable(): boolean {
|
||||
public isAvailable() {
|
||||
return this.ratesAvailable;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue