elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.69k stars 8.24k forks source link

[Lens] Provide more type guards around the Serialized to Runtime state deserialize function #199191

Open dej611 opened 3 weeks ago

dej611 commented 3 weeks ago

Provide more checks around the deserializeState function to ensure more type safety.

Reference comment: https://github.com/elastic/kibana/pull/186642#discussion_r1829575019

elasticmachine commented 3 weeks ago

Pinging @elastic/kibana-visualizations (Team:Visualizations)