Style fix

This commit is contained in:
Kirill Bulatov
2021-05-23 13:17:09 +03:00
parent 95c51d8f1d
commit 223dbd2187
2 changed files with 11 additions and 12 deletions

View File

@@ -24,12 +24,9 @@ export class PersistentState {
get nightlyReleaseId(): number | undefined {
return this.globalState.get("releaseId");
}
async updateNightlyReleaseId(value: number) {
async updateNightlyReleaseId(value: number | undefined) {
await this.globalState.update("releaseId", value);
}
async removeNightlyReleaseId() {
await this.globalState.update("releaseId", undefined);
}
/**
* Version of the extension that installed the server.