fix(core): update

This commit is contained in:
2024-02-10 04:54:00 +01:00
parent e414e392d3
commit 037481f195
3 changed files with 7 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ export class KeyValueStore {
return Array.from(this.mandatoryKeys).filter(key => !(key in this.dataObject));
}
public async waitForKeysPresent(keysArg: []): Promise<void> {
public async waitForKeysPresent(keysArg: string[]): Promise<void> {
const missingKeys = keysArg.filter(keyArg => !this.dataObject[keyArg]);
if (missingKeys.length === 0) {
return;