Free TypeScript for JavaScript Developers tutorial, a JavaScript library doesn't have a type definition file, you can still use it in your TypeScript project. There are well-defined steps that allow you to gradually upgrade your existing JavaScript code to TypeScript.