November 2018
Beginner
502 pages
10h 22m
English
As outlined in Chapter 1, TypeScript Basics, tsconfig.json specifies how our TypeScript code is compiled and transpiled.
Let's create a new file called tsconfig.json in the root of our project, and enter the following:
{ "compilerOptions": { "target": "es5", "module": "es6", "moduleResolution": "node", "lib": ["es6", "dom"], "sourceMap": true, "jsx": "react", "strict": true, "noImplicitReturns": true, "rootDir": "src", "outDir": "dist", }, "include": ["**/*.ts", "**/*.tsx"], "exclude": ["node_modules"]}
Read now
Unlock full access