Skip to content

Commit

Permalink
keyv - upgrading keyv to v5.0.2 and on() as a void return (#1136)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredwray authored Sep 22, 2024
1 parent 53c4aea commit f542c0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/keyv/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/keyv/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export type StoredDataRaw<Value> = DeserializedData<Value> | undefined;
export type StoredData<Value> = StoredDataNoRaw<Value> | StoredDataRaw<Value>;

export interface IEventEmitter {
on(event: string, listener: (...arguments_: any[]) => void): this;
on(event: string, listener: (...arguments_: any[]) => void): void;
}

export interface KeyvStoreAdapter extends IEventEmitter {
Expand Down

0 comments on commit f542c0c

Please sign in to comment.