Skip to content

Commit b1a7ac8

Browse files
committed
remove redundant definition
1 parent 5273016 commit b1a7ac8

File tree

1 file changed

+2
-4
lines changed
  • packages/json/lib/commands

1 file changed

+2
-4
lines changed

packages/json/lib/commands/GET.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export interface JsonGetOptions {
77
path?: RedisVariadicArgument;
88
}
99

10-
const foo = {
10+
export default {
1111
IS_READ_ONLY: false,
1212
parseCommand(
1313
parser: CommandParser,
@@ -21,6 +21,4 @@ const foo = {
2121
}
2222
},
2323
transformReply: transformRedisJsonNullReply
24-
} as const satisfies Command;
25-
26-
export default foo;
24+
} as const satisfies Command;

0 commit comments

Comments
 (0)