Skip to Main Content
Modern Front-End Development for Rails, 2nd Edition
book

Modern Front-End Development for Rails, 2nd Edition

by Noel Rappin
September 2022
Intermediate to advanced content levelIntermediate to advanced
410 pages
10h 7m
English
Pragmatic Bookshelf
Content preview from Modern Front-End Development for Rails, 2nd Edition

TypeScript Configuration Options

At this point, I think we have all the tools we need to start discussing TypeScript configuration.

Here’s our tsconfig.json file, which controls the configuration of the TypeScript compiler:

 {
 "compilerOptions"​: {
 "declaration"​: ​false​,
 "emitDecoratorMetadata"​: ​true​,
 "experimentalDecorators"​: ​true​,
 "lib"​: [​"es2019"​, ​"dom"​],
 "jsx"​: ​"react"​,
 "module"​: ​"es6"​,
 "moduleResolution"​: ​"node"​,
 "baseUrl"​: ​"."​,
 "paths"​: {
 "*"​: [​"node_modules/*"​, ​"app/packs/*"​]
  },
 "sourceMap"​: ​true​,
 "target"​: ​"es2019"​,
 "noEmit"​: ​true​,
 "allowSyntheticDefaultImports"​: ​true
  },
 "exclude"​: [​"**/*.spec.ts"​, ​"node_modules" ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Modern Front-End Development for Rails

Modern Front-End Development for Rails

Noel Rappin

Publisher Resources

ISBN: 9781680509977Errata Page