1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

use "export { x as y }" instead of import & const

This commit is contained in:
leibale
2021-10-12 13:19:30 -04:00
parent c8f3327ab7
commit bc1ffbc5db
42 changed files with 54 additions and 109 deletions

View File

@@ -1,5 +1,5 @@
import { RedisCommandArguments } from '.';
import { pushVerdictArguments, transformReplyBoolean } from './generic-transformers';
import { pushVerdictArguments } from './generic-transformers';
export const FIRST_KEY_INDEX = 1;
@@ -7,4 +7,4 @@ export function transformArguments(key: string, element: string | Array<string>)
return pushVerdictArguments(['PFADD', key], element);
}
export const transformReply = transformReplyBoolean;
export { transformReplyBoolean as transformReply } from './generic-transformers';