Hey,
I'm trying to catch diagram element via Typescript according to the documentation:
But I'm getting an error-
Object is possibly 'null'
So, In order to fix it I have changed to this-
But I'm still having an error-
Property 'ej2_instances' does not exist on type 'HTMLElement'
Can you please guide how to catch it via Typescript?
BR,
Eden