Skip to content

Commit

Permalink
fix assert type warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Sep 30, 2020
1 parent 769f8a0 commit 6e2cd3c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/formatting.js
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ const $as = {
* @param {Array|function} arr
* Array to be converted, or a function that returns one.
*
* @param {object} [options]
* @param {{}} [options]
* Array-Formatting Options.
*
* @param {boolean} [options.capSQL=false]
Expand Down Expand Up @@ -809,7 +809,7 @@ const $as = {
* @param {array|object|value} [values]
* Formatting parameter(s) / variable value(s).
*
* @param {object} [options]
* @param {{}} [options]
* Formatting Options.
*
* @param {boolean} [options.capSQL=false]
Expand Down
2 changes: 1 addition & 1 deletion lib/helpers/column-set.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ ColumnSet.prototype.assign = function (options) {
* Generates assignments for all columns in the set, with support for aliases and column-skipping logic.
* Aliases are set by using method {@link formatting.alias as.alias}.
*
* @param {Object} [options]
* @param {{}} [options]
* Optional Parameters.
*
* @param {string} [options.from]
Expand Down
2 changes: 1 addition & 1 deletion lib/helpers/methods/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const npm = {
* with `table` set in it, that will be used when this parameter isn't specified. When neither is available, the method
* will throw {@link external:Error Error} = `Table name is unknown.`
*
* @param {object} [options]
* @param {{}} [options]
* An object with formatting options for multi-row `UPDATE` queries.
*
* @param {string} [options.tableAlias=t]
Expand Down
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ let originalClientConnect;
* const pgp = require('pg-promise')(initOptions);
* ```
*
* @param {object} [options]
* @param {{}} [options]
* Library Initialization Options.
*
* @param {boolean} [options.pgFormatting=false]
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/public.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function _enumSql(dir, options, cb, namePath) {
*
* SQL files are identified by using `.sql` extension (case-insensitive).
*
* @param {object} [options]
* @param {{}} [options]
* Search options.
*
* @param {boolean} [options.recursive=false]
Expand Down

0 comments on commit 6e2cd3c

Please sign in to comment.