From c38c2839d034e0cf890145da9bad92dd422d0f26 Mon Sep 17 00:00:00 2001 From: Peter Blazejewicz Date: Fri, 5 Jul 2019 23:10:18 +0200 Subject: [PATCH] Correct msg parameter type suppport The method supports arrays as it is clear from the L:67 Thanks! --- lib/flash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/flash.js b/lib/flash.js index a278bc1..040825d 100644 --- a/lib/flash.js +++ b/lib/flash.js @@ -52,7 +52,7 @@ module.exports = function flash(options) { * Formatting uses `util.format()`, which is available on Node 0.6+. * * @param {String} type - * @param {String} msg + * @param {String|Array} msg * @return {Array|Object|Number} * @api public */