‘Element‘ is missing the following properties from type ‘HTMLElement‘: accessKey, accessKeyLabel
Typescript在TS文件里使用document.getElementsByClassName报错:Type'Element'ismissingthefollowingpropertiesfromtype'HTMLElement':accessKey,accessKeyLabel,autocapitalize,dir,and116more.分析与解决:ts在使用document.getElem