[Flow202][keyserver][skip-ci] [20/x] Add any-casts for invalid validator tests
Summary:
These invalid validator tests are supposed to fail. I suppose I could type the invalid validation shapes so that Flow doesn't see any issues (eg. string | number), but it seems kind of silly. Instead, I decided to just mark the types as any... just as the validator should detect an issue during runtime, it's probably a good thing that Flow detects an issue during static analysis.
NOTE: CI will fail on this diff. I considered the possibility of fixing Flow errors BEFORE upgrading Flow, but it wasn't possible... in some cases, the fixes to support the new version of Flow caused errors in the old version. I could have hidden these type errors with $FlowFixMe lines and then later revert those, but that seemed like too much busy work.
Depends on D9868
Test Plan: Confirm the Flow errors go away
Reviewers: michal
Reviewed By: michal
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D9869