html-integrations icon indicating copy to clipboard operation
html-integrations copied to clipboard

Fix/use strict

Open pau-sala-at-wiris opened this issue 1 year ago • 0 comments

Description

  • Add strict: true to the tsconfig.json file 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)

pau-sala-at-wiris avatar May 13 '24 16:05 pau-sala-at-wiris