Skip to content

Commit 3d7668e

Browse files
authored
fix: Update command-options.md with proper key 'RESP_TYPES' (#3040)
1 parent 2eaaa58 commit 3d7668e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/command-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Some [RESP types](./RESP.md) can be mapped to more than one JavaScript type. For
1212
await client.get('key'); // `string | null`
1313

1414
const proxyClient = client.withTypeMapping({
15-
[TYPES.BLOB_STRING]: Buffer
15+
[RESP_TYPES.BLOB_STRING]: Buffer
1616
});
1717

1818
await proxyClient.get('key'); // `Buffer | null`

0 commit comments

Comments
 (0)