Skip to content

Commit

Permalink
reverting on() to a this
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredwray committed Sep 22, 2024
1 parent f542c0c commit 1179006
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.2",
"version": "5.0.3",
"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): void;
on(event: string, listener: (...arguments_: any[]) => void): this;
}

export interface KeyvStoreAdapter extends IEventEmitter {
Expand Down

0 comments on commit 1179006

Please sign in to comment.