1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

נקודה פסיק

This commit is contained in:
Avital-Fine
2022-04-03 15:04:01 +03:00
parent e2c3627870
commit 9eb9adc4a2
2 changed files with 6 additions and 14 deletions

View File

@@ -53,7 +53,7 @@ export function transformReply(rawReply: Array<any>): CommandDocsReply {
}
function createDocumentationInterface(rawDocumentation: Array<any>): Doc {
const doc:Doc = {}
const doc:Doc = {};
for (let j = 0; j < rawDocumentation.length; j++) {
switch (rawDocumentation[j++]) {
@@ -70,7 +70,7 @@ function createDocumentationInterface(rawDocumentation: Array<any>): Doc {
doc['complexity'] = rawDocumentation[j];
break;
case 'history':
const historyArray = []
const historyArray = [];
for (let k = 0; k < rawDocumentation[j].length; k++) {
historyArray.push({
version: rawDocumentation[j][k][0],
@@ -92,12 +92,12 @@ function createDocumentationInterface(rawDocumentation: Array<any>): Doc {
}
function createArgumentsDocumentation(rawDocumentation: Array<any>): ArgumentsDocsReply {
const doc:ArgumentsDocsReply = {}
const doc:ArgumentsDocsReply = {};
for (let k = 0; k < rawDocumentation.length; k++) {
let argumentName = "";
const argumentData:ArgumentsDoc = {};
for (let l = 0; l < rawDocumentation[k].length; l++) {
switch (rawDocumentation[k][l++]) {
case 'name':