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,