Leon Gaban
Leon Gaban

Reputation: 39018

Syntax error in tsconfig file?

enter image description here

Not sure why, but getting a Parsing error in this tsconfig.js file I just created. Source: https://www.typescriptlang.org/docs/handbook/react-&-webpack.html

Thoughts?

{
  "compilerOptions": {
    "outDir": "./moonholdings/",
    "sourceMap": true,
    "noImplicitAny": true,
    "module": "commonjs",
    "target": "es6",
    "jsx": "react"
  },
  "include": [
    "./app/**/*"
  ]
}

Upvotes: 0

Views: 175

Answers (1)

Ryan Cavanaugh
Ryan Cavanaugh

Reputation: 220904

The file extension should be .json, not .js.

Upvotes: 3

Related Questions