Commit dcd8312
authored
Declare `DefinitionTooltip`'s `children` prop as non-nullable in
TypeScript to match the PropTypes `isRequired` definition, which is
the correct one per Nikhil Tomar [1].
Fixes #19834.
[1] #19834 (comment)
1 parent 6ab7744 commit dcd8312
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments