I am trying to create d.ts file from .js file. Many posts such as this are 2 years old How do you produce a .d.ts "typings" definition file from an existing JavaScript library?
My questions that after 2 years is there any easier way to extract type into from .js file into .d.ts file?
After running
npm run typings -- install jointjs --save
the generated .d.ts file got many definitions missing. That's why I would like to get a joint.js file that contains all the stuff as input.