I'm trying to work with PPTXGenJS in a SharePoint's WebPart and therefore need to import the npm package.
Unfortunately, I'm not able to make it available in my program, since code is telling me that a declaration file is missing.
npm install @types/pptxgenjs@latest
just throws an error and even appending a new pptxgenjs.d.ts file declaring the module does not work.
Do you have any ideas what I can do here?
Thank you!