Closed GregSithole closed 6 years ago
Hi
My code works fine but I have an idea that if I ng build my project, it will fail based on the following error that I am receiving.
Property 'getBoundingClientRect' does not exist on type 'BaseType'. Property 'getBoundingClientRect' does not exist on type 'Window'.
The following is my code:
const svg_x = d3 .select(this) .node() .getBoundingClientRect().x;
Please can you help
Hi
My code works fine but I have an idea that if I ng build my project, it will fail based on the following error that I am receiving.
Property 'getBoundingClientRect' does not exist on type 'BaseType'. Property 'getBoundingClientRect' does not exist on type 'Window'.
The following is my code:
const svg_x = d3 .select(this) .node() .getBoundingClientRect().x;
Please can you help