Skip to content

Commit 244ba8e

Browse files
authoredApr 9, 2024
🤖 Merge PR DefinitelyTyped#69121 [material-ui] Replace usage of deprecated types related to propTypes with their counterpart from the prop-types package by @eps1lon
1 parent 2aa391f commit 244ba8e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed
 

‎types/material-ui/material-ui-tests.tsx

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import * as React from 'react';
22
import {
3-
Component, ComponentClass, CSSProperties,
4-
FunctionComponent, ReactElement, ReactInstance, ValidationMap
3+
Component,
4+
ComponentClass,
5+
CSSProperties,
6+
FunctionComponent,
7+
ReactElement,
8+
ReactInstance,
59
} from 'react';
610
import * as PropTypes from 'prop-types';
711
import getMuiTheme from 'material-ui/styles/getMuiTheme';
@@ -2270,7 +2274,7 @@ const lightBaseTheme = {
22702274
const lightMuiTheme = getMuiTheme(lightBaseTheme);
22712275

22722276
class DeepDownTheTree extends Component<{} & {muiTheme: MuiTheme}> {
2273-
static propTypes: ValidationMap<any> = {
2277+
static propTypes: PropTypes.ValidationMap<any> = {
22742278
muiTheme: PropTypes.object.isRequired,
22752279
};
22762280

0 commit comments

Comments
 (0)