1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-04-23 11:52:59 +02:00

Chore: Fixed TS issues

This commit is contained in:
Laurent Cozic 2021-03-15 16:33:42 +00:00
parent e954ecd024
commit d76ec0ba0d
2 changed files with 4 additions and 4 deletions

View File

@ -103,7 +103,7 @@ export default class AsyncActionQueue {
if (!this.queue_.length) { if (!this.queue_.length) {
shim.clearInterval(iid); shim.clearInterval(iid);
resolve(); resolve(null);
} }
}, 100); }, 100);
}); });

View File

@ -16,9 +16,9 @@ abstract class KeychainServiceDriverBase {
return this.clientId_; return this.clientId_;
} }
abstract async setPassword(name: string, password: string): Promise<boolean>; abstract setPassword(name: string, password: string): Promise<boolean>;
abstract async password(name: string): Promise<string>; abstract password(name: string): Promise<string>;
abstract async deletePassword(name: string): Promise<void>; abstract deletePassword(name: string): Promise<void>;
} }