microsoft / dts-gen

dts-gen creates starter TypeScript definition files for any module or library.
MIT License
2.43k stars 102 forks source link

Is there a way to update existing .d.ts file with a new javascript implementation? #54

Open Yorkst opened 7 years ago

Yorkst commented 7 years ago

Suppose I created a .d.ts file for a package library. Then, the author of library changed a few function definitions. If I run dts-gen -m library it will overwrite types in the exiting definition with any

Can dts-gen overwrite only changed definitions?