This repository was archived by the owner on Feb 6, 2023. It is now read-only.
Commit 280d242
Add return type annotation to addEmojiInput
Summary:
Flow does not infer generics, so generic functions should have annotated return
types. This will become an error in the next Flow version.
Note that this uncovered a bunch of errors, which I mostly fixed. I suppressed
a few that would require code changes.
Reviewed By: nmote
Differential Revision: D10419507
fbshipit-source-id: 84b8f33f3c8fe272b18e35e838a0ebf7bdbaa6ff1 parent 7df9eb9 commit 280d242
File tree
2 files changed
+2
-1
lines changed- src
- component/base
- model/constants
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
0 commit comments