Commit b3083ad
authored
Fix type definition for MenuItem when no as attribute (#426)
Not having as attribute defined ending into TT not defined and probably allow any props as result. I added as default the ComponentType, which looks making duplicates but working well.
I deleted the second line which then become useless
Closes issue #4211 parent c6d9608 commit b3083ad
File tree
1 file changed
+3
-2
lines changed1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
0 commit comments