What is the best way to deal with Typescript incomplete type definition?

Viewed 685

Very often when referencing the xxx.d.ts type definition files, there are some methods or functions that I want to use missing in the definition. What is the best way to complete them so I can transpile my ts scripts successfully?

0 Answers
Related