Skip to content

Commit c31b26a

Browse files
authored
fix(types): removing unnecessary types for the generic list utility (#1285)
1 parent d76fc54 commit c31b26a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/spectacle/src/components/slide-layout.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const Ul = ({
5555
type = 'unordered',
5656
animate = false,
5757
listProps
58-
}: (typeof UnorderedList | typeof OrderedList) & {
58+
}: {
5959
items: ReactNode[];
6060
type?: 'unordered' | 'ordered';
6161
animate?: boolean;
@@ -105,7 +105,6 @@ const List = ({
105105
{title}
106106
</Heading>
107107
) : null}
108-
{/* @ts-ignore TODO: Resolve this in follow-up */}
109108
<Ul
110109
items={items}
111110
animate={animateListItems}
@@ -448,7 +447,6 @@ const VerticalImage = ({
448447
height={'100%'}
449448
>
450449
<FlexBox justifyContent="start">
451-
{/* @ts-ignore TODO: Resolve this in follow-up */}
452450
<Ul
453451
items={listItems}
454452
animate={animateListItems}

0 commit comments

Comments
 (0)