queryselectorall in typescript code example
Example: ts queryselectorall as htmlelement
let panel = document.querySelector(".panel") as HTMLElement;
let lists = document.querySelectorAll<HTMLElement>("ul.my-list");
let panel = document.querySelector(".panel") as HTMLElement;
let lists = document.querySelectorAll<HTMLElement>("ul.my-list");