JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › document.querySelector typings fail when use smart.grid.d.ts › Reply To: document.querySelector typings fail when use smart.grid.d.ts
December 19, 2022 at 6:09 pm
#104138
Hugh Anderson
Participant
I discovered a workaround which i don’t think i should have to do
(document as ParentNode).querySelectorAll(...)
<div></div>
<div>I don’t think it should be necessary to cast document like that. But at least I am unblocked. What can we do about typings of this lib overwriting the real typings of Document?</div>