Allow comments in tsconfig.json

It’s always nice to be able to document your configuration!tsconfig.json now accepts single and multi-line comments.

  1. {
  2. "compilerOptions": {
  3. "target": "ES2015", // running on node v5, yaay!
  4. "sourceMap": true // makes debugging easier
  5. },
  6. /*
  7. * Excluded files
  8. */
  9. "exclude": [
  10. "file.d.ts"
  11. ]
  12. }