Getting your hands on the workflow
After setting up your editor, we are ready to move to a workflow that you might use to practice throughout this book. It can also be used as the workflow for small TypeScript projects in your daily work.
In this workflow, we'll walk through these topics:
- What is a
tsconfig.jsonfile, and how can you configure a TypeScript project with it?
- TypeScript declaration files and the
- How to write tests running under Mocha, and how to get coverage information using Istanbul
- How to test in browsers using Karma
Configuring a TypeScript project
The configurations of a TypeScript project can differ for a variety of reasons. But the goals remain clear: we need the editor as well as the compiler to recognize ...