In the previous Bits and Bytes, we looked at Getting Started with TypeScript, now we will see how we can add TypeScript support to existing projects.
Similar to getting up and running we are going to need to make sure Node.js and our TypeScript compiler is installed. Once that is complete we can add a tsconfig.json file to support our compiler options. For info on getting up and running check out Getting Started with TypeScript.
Here is how you can fix that.
.d.ts, where d stands for definition.
Once you find your .d.ts file, add it to your project and you should be able to enjoy the benefits from TypeScript from autocompletion, to syntax errors to member documentation.
Try it out and let me know what you think.
Available formats for this video:
Actual format may change based on video formats available and browser capability.