Loading topic
package.json. The examples use TypeScript syntax, but the same ideas apply to most statically typed languages.2 min read.ts source file and the JavaScript that runs.2 min readpackage.json, and basic Node.js commands. TypeScript is installed with npm, so Node.js and npm must already be available.2 min readpackage.json file available. This chapter uses tsc, the TypeScript compiler, from a project-local installation.2 min readpackage.json file. You will configure the TypeScript compiler for a small Node.js project.2 min readtsconfig.json.2 min readtsconfig.json file that defines the source and output folders.2 min readtsc, checks your code and can write JavaScript files that a run2 min readtsc. This chapter explains how TypeScript understands JavaScript code that has no type annotations.2 min readpackage.json, and have Node.js installed.3 min readpackage.json, npm scripts, and the basic tsc commands from earlier chapters. This chapter focuses on projects split into several TypeScript packages, such as a monorepo.2 min read