Skip to content

Conversation

leibale
Copy link
Collaborator

@leibale leibale commented Feb 14, 2021

No description provided.

* @param {ClientOpts} [options] node_redis options
* @param {string | import('redis').RedisClient} [host] Redis host or node_redis client
* @param {string | number} [port] Redis port (integer)
* @param {Object} [options] node_redis options
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can't import this object to here?

*/
getStringValue(label) {
return this.getStatistics()[label];
}

/**
* Return the query statistics
* @return {Statistics} statistics object
* @return {Object<string, string>} statistics object
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't we return the Statistics object itself?

tsconfig.json Outdated
"emitDeclarationOnly": true,
"outDir": "./types"
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add an empty line

@DvirDukhan DvirDukhan merged commit 530d043 into RedisGraph:master Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants