html-integrations
html-integrations copied to clipboard
Fix/use strict
Description
- Add
strict: trueto thetsconfig.jsonfile in the viewer package to enforce stricter typing. This will lead to more robust code and help catch potential bugs at compile time.
Steps to reproduce
Dev deployment
- Check the dev deploy here, it should show the demo viewer and work as expected.
Locally
- run:
nx build viewer && nx start html-viewer, the code should compile and work as expected
Warning
- Setting strict to true has revealed a number of errors. Resolving some of these is innocuous, but addressing others involves assumptions that are not clear about what the code should do in certain cases.
#taskid X (Waiting for the card to be created)