diff --git a/maxun-core/src/interpret.ts b/maxun-core/src/interpret.ts index 0543d71f..158d9978 100644 --- a/maxun-core/src/interpret.ts +++ b/maxun-core/src/interpret.ts @@ -253,7 +253,7 @@ export default class Interpreter extends EventEmitter { * calls all mentioned functions on the Page object.\ * \ * Manipulates the iterator indexes (experimental feature, likely to be removed in - * the following versions of waw-interpreter) + * the following versions of maxun-core) * @param page Playwright Page object * @param steps Array of actions. */ diff --git a/maxun-core/src/preprocessor.ts b/maxun-core/src/preprocessor.ts index 7c31004e..7957c06b 100644 --- a/maxun-core/src/preprocessor.ts +++ b/maxun-core/src/preprocessor.ts @@ -60,7 +60,7 @@ export default class Preprocessor { } // Recursion general case - return Object.values(object) + return (Object.values(object) as any[]) .reduce((p: string[], v: any): string[] => [...p, ...getParamsRecurse(v)], []); } return [];