A problem with generated frontend ShadowRoot.ts

Whenever I build the frontend the parentNode of the ShadowRoot is created like a generic. But the generated Node type is not generic. Everything works fine if I remove the type from the parentNode. But it is annoying… I recently updated to Vaadin 24.8.6 version