From f921ff783eee61f6eb3dce4103389fa3edb04536 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Mon, 30 Mar 2020 11:01:51 +0200 Subject: [PATCH] fix --- index.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 598fc9a..c2feb41 100644 --- a/index.js +++ b/index.js @@ -48,9 +48,9 @@ function copy_object (obj) { /** * run a regular expression and callback for every result * - * @param regex regular expression - * @param data data to run on - * @param func function to execute + * @param {any} regex regular expression + * @param {any} data data to run on + * @param {any} func function to execute */ function run_regex (regex, data, func) { let res = regex.exec (data); @@ -61,7 +61,6 @@ function run_regex (regex, data, func) { } - module.exports = { truncate_decimal, try_parse_json,