diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index f0250a6..23c73bf 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartdata', - version: '5.0.34', + version: '5.0.35', description: 'do more with data' } diff --git a/ts/smartdata.classes.easystore.ts b/ts/smartdata.classes.easystore.ts index 3dce552..4ddb4f6 100644 --- a/ts/smartdata.classes.easystore.ts +++ b/ts/smartdata.classes.easystore.ts @@ -70,7 +70,7 @@ export class EasyStore { /** * writes a specific key to the keyValueStore */ - public async writeKey(keyArg: keyof T, valueArg: any) { + public async writeKey(keyArg: TKey, valueArg: T[TKey]) { const easyStore = await this.getEasyStore(); easyStore.data[keyArg] = valueArg; await easyStore.save();