TypeScript Version: 3.9.7 & nightly
Search Terms: diagnostics
Steps
- Clone https://github.com/amcasey/node-zwave-js
- Check out
Repro
npm install --ignore-scripts
lerna run build
- Navigate to
packages/zwave-js/src/lib/driver/SendThreadMachine.ts line 359
tsc -b -f packages/zwave-js/tsconfig.build.json
Expected behavior: Editor and tsc show the same errors around lines 359 and 368.
Actual behavior: Editor does not show errors.
Notes:
- I believe the
LocalFix branch is a sensible way to resolve the errors. Locally, it only build with nightly - not with 3.9.7.
- I made a reduced version of the project to investigate perf, but it doesn't exhibit this issue.
- Technically, the LS uses tsconfig.json, rather than tsconfig.build.json but they're essentially the same and rejiggering the names to make them use the same tsconfig doesn't affect the behavior.
TypeScript Version: 3.9.7 & nightly
Search Terms: diagnostics
Steps
Repronpm install --ignore-scriptslerna run buildpackages/zwave-js/src/lib/driver/SendThreadMachine.tsline 359tsc -b -f packages/zwave-js/tsconfig.build.jsonExpected behavior: Editor and tsc show the same errors around lines 359 and 368.
Actual behavior: Editor does not show errors.
Notes:
LocalFixbranch is a sensible way to resolve the errors. Locally, it only build with nightly - not with 3.9.7.