Skip to content

Commit

Permalink
Disable incremental compilation for typechecking
Browse files Browse the repository at this point in the history
Since TypeScript does not follow semver(microsoft/TypeScript#14116) the `incremental` option cannot be used with `--noEmit` as-of typescript 3.8.2. This in turn means that typescript was breaking on Travis-CI
  • Loading branch information
Robert Main committed Mar 16, 2020
1 parent 2e0028f commit 76d2a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"lint": "eslint --ext=ts,tsx,js ./src ./tests",
"test": "TS_NODE_FILES=true nyc mocha",
"test:watch": "TS_NODE_FILES=true mocha --watch",
"typecheck": "tsc --noEmit",
"typecheck": "tsc --incremental false --noEmit",
"start": "nodemon",
"orm": "ts-node -r tsconfig-paths/register ./node_modules/.bin/typeorm"
},
Expand Down

0 comments on commit 76d2a0c

Please sign in to comment.