This commit is contained in:
Ulf Gebhardt 2023-06-12 14:07:07 +02:00
parent 85b348219f
commit fcc27e6049
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -5,7 +5,7 @@
* @property fieldName String
* @property callback Function
*/
function walkRecursive(data, fields, fieldName, callback, _key) {
function walkRecursive(data, fields, fieldName, callback, _key?) {
if (!Array.isArray(fields)) {
throw new Error('please provide an fields array for the walkRecursive helper')
}