From dfb40b2609393a7f3d1f541b6326c3ad5b771844 Mon Sep 17 00:00:00 2001 From: ZeeshanTamboli Date: Thu, 16 Nov 2023 11:59:24 +0530 Subject: [PATCH] remove unnecessary picking of onChange type from SelectInputProps --- packages/mui-material-next/src/Select/Select.d.ts | 3 +-- packages/mui-material/src/Select/Select.d.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/mui-material-next/src/Select/Select.d.ts b/packages/mui-material-next/src/Select/Select.d.ts index afbfacbaabbe18..914afdb2376c95 100644 --- a/packages/mui-material-next/src/Select/Select.d.ts +++ b/packages/mui-material-next/src/Select/Select.d.ts @@ -15,8 +15,7 @@ export { SelectChangeEvent }; export interface SelectProps extends StandardProps, - Omit, - Pick, 'onChange'> { + Omit { /** * If `true`, the width of the popover will automatically be set according to the items inside the * menu, otherwise it will be at least the width of the select input. diff --git a/packages/mui-material/src/Select/Select.d.ts b/packages/mui-material/src/Select/Select.d.ts index 3ef7a66baaca94..836bb7666d0dcf 100644 --- a/packages/mui-material/src/Select/Select.d.ts +++ b/packages/mui-material/src/Select/Select.d.ts @@ -11,8 +11,7 @@ export { SelectChangeEvent }; export interface SelectProps extends StandardProps, - Omit, - Pick, 'onChange'> { + Omit { /** * If `true`, the width of the popover will automatically be set according to the items inside the * menu, otherwise it will be at least the width of the select input.