You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Fix imports (#2929)
* fix: exports align exports with v4 as much as possible * document breaking changes * export type return SetOptions export
This commit is contained in:
committed by
GitHub
parent
5295926cc0
commit
048df302e4
@@ -2,7 +2,7 @@ export { RedisModules, RedisFunctions, RedisScripts, RespVersions, TypeMapping/*
|
||||
export { RESP_TYPES } from './lib/RESP/decoder';
|
||||
export { VerbatimString } from './lib/RESP/verbatim-string';
|
||||
export { defineScript } from './lib/lua-script';
|
||||
// export * from './lib/errors';
|
||||
export * from './lib/errors';
|
||||
|
||||
import RedisClient, { RedisClientOptions, RedisClientType } from './lib/client';
|
||||
export { RedisClientOptions, RedisClientType };
|
||||
@@ -20,8 +20,8 @@ import RedisSentinel from './lib/sentinel';
|
||||
export { RedisSentinelOptions, RedisSentinelType } from './lib/sentinel/types';
|
||||
export const createSentinel = RedisSentinel.create;
|
||||
|
||||
// export { GeoReplyWith } from './lib/commands/generic-transformers';
|
||||
export { GEO_REPLY_WITH, GeoReplyWith } from './lib/commands/GEOSEARCH_WITH';
|
||||
|
||||
// export { SetOptions } from './lib/commands/SET';
|
||||
export { SetOptions } from './lib/commands/SET';
|
||||
|
||||
// export { RedisFlushModes } from './lib/commands/FLUSHALL';
|
||||
export { REDIS_FLUSH_MODES } from './lib/commands/FLUSHALL';
|
||||
|
Reference in New Issue
Block a user