remove redis
Some checks failed
Build & Deploy KLZ Cables / build-and-deploy (push) Failing after 5m50s
Some checks failed
Build & Deploy KLZ Cables / build-and-deploy (push) Failing after 5m50s
This commit is contained in:
22
types/redis.d.ts
vendored
22
types/redis.d.ts
vendored
@@ -1,22 +0,0 @@
|
||||
// Fallback ambient types for `redis`.
|
||||
//
|
||||
// The official `redis` package ships its own types. In some editor setups
|
||||
// (especially with newer TS + `moduleResolution: bundler`) the TS server may
|
||||
// temporarily fail to resolve them. This keeps the project compiling.
|
||||
declare module 'redis' {
|
||||
export type RedisClientType = {
|
||||
connect(): Promise<void>;
|
||||
get(key: string): Promise<string | null>;
|
||||
set(
|
||||
key: string,
|
||||
value: string,
|
||||
options?: {
|
||||
EX?: number;
|
||||
}
|
||||
): Promise<unknown>;
|
||||
del(key: string): Promise<number>;
|
||||
};
|
||||
|
||||
export function createClient(options: { url: string }): RedisClientType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user