Property 'forEach' does not exist on type 'HTMLCollectionOf<Element>'. code example
Example 1: Property 'find' does not exist on type NodeListOf
const elements = Array.from(document.querySelectorAll('.selector'));
elements.forEach((...) => {});
Example 2: Property 'forEach' does not exist on type 'NodeListOf'.
const frameZones = Array.from(document.querySelectorAll('path.frame-zone'));
frameZones.forEach((...) => {});