Skip to content

Commit

Permalink
Fix Driver.getServerInfo api docs (#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigmontz committed Jun 27, 2023
1 parent 02572c2 commit 116a4de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/driver.ts
Expand Up @@ -614,7 +614,7 @@ class Driver {
*
* @param {Object} param - The object parameter
* @param {string} param.database - The target database to verify connectivity for.
* @returns {Promise<void>} promise resolved with void or rejected with error.
* @returns {Promise<ServerInfo>} promise resolved with the ServerInfo or rejected with error.
*/
getServerInfo ({ database = '' }: { database?: string } = {}): Promise<ServerInfo> {
const connectionProvider = this._getOrCreateConnectionProvider()
Expand Down
2 changes: 1 addition & 1 deletion packages/neo4j-driver-deno/lib/core/driver.ts
Expand Up @@ -614,7 +614,7 @@ class Driver {
*
* @param {Object} param - The object parameter
* @param {string} param.database - The target database to verify connectivity for.
* @returns {Promise<void>} promise resolved with void or rejected with error.
* @returns {Promise<ServerInfo>} promise resolved with the ServerInfo or rejected with error.
*/
getServerInfo ({ database = '' }: { database?: string } = {}): Promise<ServerInfo> {
const connectionProvider = this._getOrCreateConnectionProvider()
Expand Down

0 comments on commit 116a4de

Please sign in to comment.