elastic / uptime

This project includes resources and general issue tracking for the Elastic Uptime solution
12 stars 3 forks source link

Improving typings in the uptime code #331

Closed shahzad31 closed 1 year ago

shahzad31 commented 3 years ago

In uptime plugin code, we have lot's of usage of any type in the typscript code, example being

https://github.com/elastic/kibana/blob/master/x-pack/plugins/uptime/server/rest_api/index_state/get_index_pattern.ts#L16

We should get rid of all the usage of any

we can start with low hanging fruits, where we don't need many changes and then tackle complex usage of any.

paulb-elastic commented 2 years ago

Might be useful to break this down into multiple PRs