Closed
Description
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.
- changes are committed straight into
development
- Don't touch actual runtime code, only the typings so we don't get bugs
- Just use
any
for typings if it's hard to type without refactoring the runtime code
Eventually 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
- Run app with
npm start
- grind
- goto step 3
git checkout tsconfig.json
to revert the tsconfig- commit straight to
development