Skip to content

Commit

Permalink
added fix for value (#523)
Browse files Browse the repository at this point in the history
Co-authored-by: alphmth <>
  • Loading branch information
jaytist authored Oct 17, 2022
1 parent 74fb429 commit fb9ad27
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/etcd/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {EventEmitter} from 'events';
import type Etcd3 from 'etcd3';
import type {Store, StoredData} from 'keyv';

declare class KeyvEtcd extends EventEmitter implements Store<Value> {
declare class KeyvEtcd<Value=any> extends EventEmitter implements Store<Value> {
ttlSupport: any;
opts: any;
client: Etcd3;
Expand Down
2 changes: 1 addition & 1 deletion packages/memcache/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import {EventEmitter} from 'node:events';
import {Store, StoredData} from 'keyv';

declare class KeyvMemcache extends EventEmitter implements Store<Value> {
declare class KeyvMemcache<Value=any> extends EventEmitter implements Store<Value> {
ttlSupport: boolean;
namespace?: string | undefined;

Expand Down
2 changes: 1 addition & 1 deletion packages/mongo/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {EventEmitter} from 'events';
import GridFSBucket from 'mongodb';
import {Store, StoredData} from 'keyv';

declare class KeyvMongo extends EventEmitter implements Store<Value> {
declare class KeyvMongo<Value=any> extends EventEmitter implements Store<Value> {
readonly ttlSupport: false;
opts: Record<string, any>;
connect: Promise<any>;
Expand Down
2 changes: 1 addition & 1 deletion packages/mysql/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {EventEmitter} from 'events';
import type {Store, StoredData} from 'keyv';

export = KeyvMysql;
declare class KeyvMysql extends EventEmitter implements Store<Value> {
declare class KeyvMysql<Value=any> extends EventEmitter implements Store<Value> {
readonly ttlSupport: false;
opts: any;
query: (sqlString: any) => any;
Expand Down
2 changes: 1 addition & 1 deletion packages/offline/src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import EventEmitter from 'node:events';
import type {Store, StoredData} from 'keyv';

declare class KeyvOffline extends EventEmitter implements Store<Value> {
declare class KeyvOffline<Value=any> extends EventEmitter implements Store<Value> {
proxy: any;
constructor(keyv: any);
get(key: string): Promise<Value>;
Expand Down
2 changes: 1 addition & 1 deletion packages/postgres/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {EventEmitter} from 'events';
import type {Store, StoredData} from 'keyv';

export = KeyvPostgres;
declare class KeyvPostgres extends EventEmitter implements Store<Value> {
declare class KeyvPostgres<Value=any> extends EventEmitter implements Store<Value> {
readonly ttlSupport: false;
opts: any;
query: (sqlString: any) => any;
Expand Down
2 changes: 1 addition & 1 deletion packages/redis/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {EventEmitter} from 'events';
import type {Store, StoredData} from 'keyv';
import type {Redis, Cluster} from 'ioredis';

declare class KeyvRedis extends EventEmitter implements Store<Value> {
declare class KeyvRedis<Value=any> extends EventEmitter implements Store<Value> {
readonly ttlSupport: false;
namespace?: string | undefined;
opts: Record<string, unknown>;
Expand Down
2 changes: 1 addition & 1 deletion packages/sqlite/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type Database from 'better-sqlite3';
import type {Store, StoredData} from 'keyv';

export = KeyvSqlite;
declare class KeyvSqlite extends EventEmitter implements Store<Value> {
declare class KeyvSqlite<Value=any> extends EventEmitter implements Store<Value> {
readonly ttlSupport: false;
namespace?: string | undefined;
opts: any;
Expand Down
2 changes: 1 addition & 1 deletion packages/tiered/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {EventEmitter} from 'events';
import type {Store, StoredData} from 'keyv';

export = KeyvTiered;
declare class KeyvTiered extends EventEmitter implements Store<Value> {
declare class KeyvTiered<Value=any> extends EventEmitter implements Store<Value> {
constructor(options: KeyvTiered.Options);
get(key: string): Promise<Value>;
getMany?(
Expand Down

0 comments on commit fb9ad27

Please sign in to comment.