From fb9ad2725491a2ee962af4a03cbbbde30b993916 Mon Sep 17 00:00:00 2001 From: alphmth <39932421+alphmth@users.noreply.github.com> Date: Tue, 18 Oct 2022 00:07:17 +0500 Subject: [PATCH] added fix for value (#523) Co-authored-by: alphmth <> --- packages/etcd/src/index.d.ts | 2 +- packages/memcache/src/index.d.ts | 2 +- packages/mongo/src/index.d.ts | 2 +- packages/mysql/src/index.d.ts | 2 +- packages/offline/src/index.d.ts | 2 +- packages/postgres/src/index.d.ts | 2 +- packages/redis/src/index.d.ts | 2 +- packages/sqlite/src/index.d.ts | 2 +- packages/tiered/src/index.d.ts | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/etcd/src/index.d.ts b/packages/etcd/src/index.d.ts index c5e6e231e..ebdd6585c 100644 --- a/packages/etcd/src/index.d.ts +++ b/packages/etcd/src/index.d.ts @@ -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 { +declare class KeyvEtcd extends EventEmitter implements Store { ttlSupport: any; opts: any; client: Etcd3; diff --git a/packages/memcache/src/index.d.ts b/packages/memcache/src/index.d.ts index 366dedf58..1e28af3ec 100644 --- a/packages/memcache/src/index.d.ts +++ b/packages/memcache/src/index.d.ts @@ -2,7 +2,7 @@ import {EventEmitter} from 'node:events'; import {Store, StoredData} from 'keyv'; -declare class KeyvMemcache extends EventEmitter implements Store { +declare class KeyvMemcache extends EventEmitter implements Store { ttlSupport: boolean; namespace?: string | undefined; diff --git a/packages/mongo/src/index.d.ts b/packages/mongo/src/index.d.ts index b863e6d66..0a8b98338 100644 --- a/packages/mongo/src/index.d.ts +++ b/packages/mongo/src/index.d.ts @@ -2,7 +2,7 @@ import {EventEmitter} from 'events'; import GridFSBucket from 'mongodb'; import {Store, StoredData} from 'keyv'; -declare class KeyvMongo extends EventEmitter implements Store { +declare class KeyvMongo extends EventEmitter implements Store { readonly ttlSupport: false; opts: Record; connect: Promise; diff --git a/packages/mysql/src/index.d.ts b/packages/mysql/src/index.d.ts index d374b6a99..65ab00338 100644 --- a/packages/mysql/src/index.d.ts +++ b/packages/mysql/src/index.d.ts @@ -3,7 +3,7 @@ import {EventEmitter} from 'events'; import type {Store, StoredData} from 'keyv'; export = KeyvMysql; -declare class KeyvMysql extends EventEmitter implements Store { +declare class KeyvMysql extends EventEmitter implements Store { readonly ttlSupport: false; opts: any; query: (sqlString: any) => any; diff --git a/packages/offline/src/index.d.ts b/packages/offline/src/index.d.ts index 5305b893c..42cf87714 100644 --- a/packages/offline/src/index.d.ts +++ b/packages/offline/src/index.d.ts @@ -1,7 +1,7 @@ import EventEmitter from 'node:events'; import type {Store, StoredData} from 'keyv'; -declare class KeyvOffline extends EventEmitter implements Store { +declare class KeyvOffline extends EventEmitter implements Store { proxy: any; constructor(keyv: any); get(key: string): Promise; diff --git a/packages/postgres/src/index.d.ts b/packages/postgres/src/index.d.ts index 014735d24..ce42400b9 100644 --- a/packages/postgres/src/index.d.ts +++ b/packages/postgres/src/index.d.ts @@ -3,7 +3,7 @@ import {EventEmitter} from 'events'; import type {Store, StoredData} from 'keyv'; export = KeyvPostgres; -declare class KeyvPostgres extends EventEmitter implements Store { +declare class KeyvPostgres extends EventEmitter implements Store { readonly ttlSupport: false; opts: any; query: (sqlString: any) => any; diff --git a/packages/redis/src/index.d.ts b/packages/redis/src/index.d.ts index 4af9e985a..085a8f4ee 100644 --- a/packages/redis/src/index.d.ts +++ b/packages/redis/src/index.d.ts @@ -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 { +declare class KeyvRedis extends EventEmitter implements Store { readonly ttlSupport: false; namespace?: string | undefined; opts: Record; diff --git a/packages/sqlite/src/index.d.ts b/packages/sqlite/src/index.d.ts index 7f055ae9c..38c03a106 100644 --- a/packages/sqlite/src/index.d.ts +++ b/packages/sqlite/src/index.d.ts @@ -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 { +declare class KeyvSqlite extends EventEmitter implements Store { readonly ttlSupport: false; namespace?: string | undefined; opts: any; diff --git a/packages/tiered/src/index.d.ts b/packages/tiered/src/index.d.ts index 40cdc9a1e..5517411ba 100644 --- a/packages/tiered/src/index.d.ts +++ b/packages/tiered/src/index.d.ts @@ -2,7 +2,7 @@ import {EventEmitter} from 'events'; import type {Store, StoredData} from 'keyv'; export = KeyvTiered; -declare class KeyvTiered extends EventEmitter implements Store { +declare class KeyvTiered extends EventEmitter implements Store { constructor(options: KeyvTiered.Options); get(key: string): Promise; getMany?(