8000 Stricter ts config · Issue #586 · luomus/laji · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Stricter ts config #586
Closed
Closed
Refactor
@olzraiti

Description

@olzraiti

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:

  1. cp tsconfig{.app-strict,}.json # replace tsconfig with the strict config
  2. Run app with npm start
  3. grind
  4. goto step 3
  5. git checkout tsconfig.json to revert the tsconfig
  6. commit straight to development

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0