Skip to content

Commit

Permalink
Add flow strict-local annotation to the dismissKeyboard module
Browse files Browse the repository at this point in the history
Summary: The `dismissKeyboard` module is widely used but did not have flow typing on it, preventing other js modules that use it from annotating themselves as flow strict-local. This diff adds a flow annotation to the `dismissKeyboard` module of the strictest type supported for this module, which is flow strict-local.

Reviewed By: gkz

Differential Revision: D9143671

fbshipit-source-id: af2367e6c59276402dcbcb9cf0f64b44ff42f531
  • Loading branch information
Trish Saylor authored and facebook-github-bot committed Aug 3, 2018
1 parent 72b0238 commit f17047e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Libraries/Utilities/dismissKeyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*
* This function dismisses the currently-open keyboard, if any
*
* @flow strict-local
* @format
*/

Expand Down

0 comments on commit f17047e

Please sign in to comment.