TypeScript

Programming

Step-by-step: How I make my npm package conformable to TypeScript?

Last time we made an NPM package with JavaScript. BUT, there is one problem. We can not use it with TypeScript projects out of the box because there is no type definition file and TS project can’t know any types of this NPM package.

Read