Looking to convert a .js file to a d.ts file, I've noticed that most resources on this topic are from 2 years ago How do you produce a .d.ts "typings" definition file from an existing JavaScript library?
My question is, after 2 years, is there a simpler way to extract types from a .js file into a .d.ts file?
After executing
npm run typings -- install jointjs --save
The resulting .d.ts file is missing many definitions. This is why I'm interested in obtaining a joint.js file that includes all the necessary content.