Skip to content

Commit

Permalink
resolve assignability issues
Browse files Browse the repository at this point in the history
reading .propTypes is discouraged anyway.
  • Loading branch information
eps1lon committed Jan 27, 2021
1 parent b43bf64 commit eca822d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/material-ui-lab/src/DatePicker/DatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const datePickerConfig = {

export type DatePickerGenericComponent<TWrapper extends SomeWrapper> = (<TDate>(
props: BaseDatePickerProps<TDate> & SharedPickerProps<TDate, TWrapper>,
) => JSX.Element) & { propTypes?: unknown };
) => JSX.Element) & { propTypes?: any };

/**
*
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-lab/src/TimePicker/TimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const timePickerConfig = {

export type TimePickerGenericComponent<TWrapper extends SomeWrapper> = (<TDate>(
props: BaseTimePickerProps<TDate> & SharedPickerProps<TDate, TWrapper>,
) => JSX.Element) & { propTypes?: unknown };
) => JSX.Element) & { propTypes?: any };

/**
*
Expand Down

0 comments on commit eca822d

Please sign in to comment.