Skip to content

Commit a25d467

Browse files
adamalstonheloiselui
authored andcommitted
fix(MultiSelect): update types (carbon-design-system#19241)
1 parent ea316c0 commit a25d467

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/react/src/components/MultiSelect/MultiSelect.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,14 +914,16 @@ export const MultiSelect = React.forwardRef(
914914
</div>
915915
);
916916
}
917-
);
917+
) as MultiSelectComponent;
918918

919919
type MultiSelectComponentProps<ItemType> = React.PropsWithChildren<
920920
MultiSelectProps<ItemType>
921921
> &
922922
React.RefAttributes<HTMLButtonElement>;
923923

924924
interface MultiSelectComponent {
925+
propTypes: Record<string, any>;
926+
displayName: string;
925927
<ItemType>(
926928
props: MultiSelectComponentProps<ItemType>
927929
): React.ReactElement<any> | null;

0 commit comments

Comments
 (0)