The new version of Flow wants more annotations for function and member definitions. This diff adds all of the required annotations to the web codebase necessary to clear all missing-local-annot errors. The lib equivalent of this diff is D9697.
I also included some other changes where I type function params that were yielding other Flow errors (different from missing-local-annot).
Depends on D9770