From f542c0c7b286f228ba2341a79089c19765d4a3da Mon Sep 17 00:00:00 2001 From: Jared Wray Date: Sun, 22 Sep 2024 14:54:28 -0700 Subject: [PATCH] keyv - upgrading keyv to v5.0.2 and on() as a void return (#1136) --- packages/keyv/package.json | 2 +- packages/keyv/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/keyv/package.json b/packages/keyv/package.json index ec5216f59..66d621101 100644 --- a/packages/keyv/package.json +++ b/packages/keyv/package.json @@ -1,6 +1,6 @@ { "name": "keyv", - "version": "5.0.1", + "version": "5.0.2", "description": "Simple key-value storage with support for multiple backends", "type": "module", "main": "dist/index.cjs", diff --git a/packages/keyv/src/index.ts b/packages/keyv/src/index.ts index 4227c88a2..2a3215552 100644 --- a/packages/keyv/src/index.ts +++ b/packages/keyv/src/index.ts @@ -33,7 +33,7 @@ export type StoredDataRaw = DeserializedData | undefined; export type StoredData = StoredDataNoRaw | StoredDataRaw; export interface IEventEmitter { - on(event: string, listener: (...arguments_: any[]) => void): this; + on(event: string, listener: (...arguments_: any[]) => void): void; } export interface KeyvStoreAdapter extends IEventEmitter {