Hi, I am using Aspose Slides for NodeJS via Java
I have installed types for my typescript project but I am getting incorrect types (see image of suggested types):
WhatsApp Image 2025-05-27 at 20.06.50_6a3e369d.jpg (41.1 KB)
When I run the code using the suggested type of arguments, I get a runtime error (see image of runtime error):
WhatsApp Image 2025-05-27 at 20.13.58_c6469a22.jpg (81.3 KB)
For IShapeCollection.addTable, the given types suggest that arg1, arg2, arg3, and arg4 are all numbers. But the online documentation suggests arg1 and arg2 are supposed to be floats, and arg 3, arg 4 have to be array of doubles.
Versions used:
java -version
gives ‘java version “1.8.0_451”’
aspose.slides.via.java: 25.50.0, which depends on java: 0.14.0