Branch: refs/heads/dashboard
Home:
https://github.com/tribe29/checkmk
Commit: a189c59e46bf5b2e0decd865b61a79dfea5f79d0
https://github.com/tribe29/checkmk/commit/a189c59e46bf5b2e0decd865b61a79dfe…
Author: Mazen Alkatlabee <mazen.alkatlabee(a)tribe29.com>
Date: 2022-10-09 (Sun, 09 Oct 2022)
Changed paths:
A tsconfig.strict.json
Log Message:
-----------
add an extension config for tsconfig
Here we try to convert our javascript code to typescript
with the most strict configurations but to avoid having
to change them all at once we use tsconfig.strcit.json to
add each new changed typescript file here and then at the
end when we fix all files we adapt these compilerOptions
in the original tsconfig and delete this file
Change-Id: Ibe804adf2921b41ae01d9e2814ed33c2629e9f6c
Commit: b635eb0768eddea8d52acc6a7983c3f9679cd728
https://github.com/tribe29/checkmk/commit/b635eb0768eddea8d52acc6a7983c3f96…
Author: Mazen Alkatlabee <mazen.alkatlabee(a)tribe29.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M tsconfig.strict.json
M web/htdocs/js/modules/ajax.ts
M web/htdocs/js/modules/forms.ts
M web/htdocs/js/modules/graphs.ts
M web/htdocs/js/modules/help.ts
M web/htdocs/js/modules/page_menu.ts
M web/htdocs/js/modules/popup_menu.ts
M web/htdocs/js/modules/search.ts
M web/htdocs/js/modules/selection.ts
M web/htdocs/js/modules/service_discovery.ts
M web/htdocs/js/modules/sidebar.ts
M web/htdocs/js/modules/sla.ts
M web/htdocs/js/modules/utils.ts
M web/htdocs/js/modules/wato.ts
Log Message:
-----------
fix all ts errors in ajax.ts, utils.ts and selection.ts
after adding an extended config file for tsconfig.json
I fixed all showen errors from tsc with the
most stricted options including noImplicitAny
so I added types where ever I could. There are
however still some places where it's a bit difficult
to tell what type the variable has, so I added an explicit
any type which we should figure out later.
Change-Id: Iadf84780bb1a5c8ef7b1bd078f2881cceb838625
Compare:
https://github.com/tribe29/checkmk/compare/a189c59e46bf%5E...b635eb0768ed