[筆記] property `style` does not exist on type `Element`
```typescript
Array.from(document.querySelectorAll<HTMLElement>('.selector')).forEach((el: HTMLElement, i: number) => {
// ...
})
```
Reference:
https://stackoverflow.com/questions/58773652/ts2339-property-style-does-not-exist-on-type-element
2021-05-04 15:14:10
留言
Last fetch: --:--
現在還沒有留言!