Commit d0645d5
committed
fixup! Integrate eslint
"Since we are going to return strings like \"React.ReactElement\", should we be more explicit about putting full type names in the `JSX_RETURN_TYPES` array? I see that we use `.endsWith` to do the check, so we could alternatively just return `typeName.right.name` and skip the recursion, since we don't actually care what's on the left."react-fc-component-definition
1 parent fec5ad1 commit d0645d5
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | | - | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments