Open olzraiti opened 1 month ago
4864
errors currently
We have to think what to do other projects than laji
btw. Many of not all of them use the root tsonfig, and so we must either isolate the tsconfigs for all projects or make all projects strict.
The error count increased from 4864
to 5254
:)
7a3ba8bea37784ebc0c1623dbb0c28c3d77bec7e https://github.com/luomus/laji/commit/51281dd4fa91c2c268ef0ed92913b08c70d49a6c (forgot to add the issue id to commit message)
Inevitably I ended up adding a couple of undefined checks rather than only type level changes...
9fa4491d19da3dce40308ea10d95dfca8073bdb4 aeac2073fc2f4259ed81cfd3819086983191187f (I also forgot to add the issue id to the commit message)
Error count is now 3281
down to 2899
down to 2404
down to 2024
down to 1470
Stricter typing would have many benefits: less bugs since the code is constructed better, less null pointer errors, easier coding since the methods are properly typed.
development
any
for typings if it's hard to type without refactoring the runtime codeEventually the old code won't be any worse typed than it is now, and new code will have improved typings when we get the strict typing on.
All developers are committed to this. Everybody has their own day when they work on this for as long as want to.
Monday: @Blodir Tuesday: @rpulkka Wednesday: @aorin Thursday: @MLumme Friday: @olzraiti
Dev instructions:
cp tsconfig{.app-strict,}.json # replace tsconfig with the strict config
npm start
git checkout tsconfig.json
to revert the tsconfigdevelopment