Currently, the EuiSelectableOption interface (when inferred during d.ts generation; in eui.d.ts) contains hundreds of lines copied from DOM element definitions: every attribute and event handler allowed by both <div> and <li> (see below).
The likely culprit is the Exclude bit with <div>:
|
type _EuiSelectableGroupLabelOption = Omit< |
|
EuiSelectableOptionBase, |
|
'isGroupLabel' |
|
> & |
|
Exclude<HTMLAttributes<HTMLDivElement>, 'id'> & { |
|
isGroupLabel: true; |
|
}; |
And again with <li>:
|
type _EuiSelectableLIOption = EuiSelectableOptionBase & |
|
Exclude<HTMLAttributes<HTMLLIElement>, 'id'>; |
Omit may not result in such output, but that's just a guess.
Currently, the
EuiSelectableOptioninterface (when inferred duringd.tsgeneration; ineui.d.ts) contains hundreds of lines copied from DOM element definitions: every attribute and event handler allowed by both<div>and<li>(see below).The likely culprit is the
Excludebit with<div>:eui/src/components/selectable/selectable_option.tsx
Lines 63 to 69 in c8f2b55
And again with
<li>:eui/src/components/selectable/selectable_option.tsx
Lines 74 to 75 in c8f2b55
Omitmay not result in such output, but that's just a guess.