Commit da4e924
fix(chart): use isCustomControlItem in word cloud test type predicate
Fix tsc failure: the ad-hoc type predicate narrowed to a type that
isn't assignable to ControlSetItem. Reuse the exported
isCustomControlItem guard from @superset-ui/chart-controls, matching
the pattern used in ControlPanelsContainer.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f1c12aa commit da4e924
1 file changed
Lines changed: 7 additions & 9 deletions
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 62 | + | |
68 | 63 | | |
69 | | - | |
70 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
71 | 69 | | |
0 commit comments