Skip to content

Commit 67c6089

Browse files
committed
use descriptive names for export as well
1 parent 1f95883 commit 67c6089

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/material-ui/src/ListItemText/ListItemText.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ export type ListItemTextClassKey =
3232
// const declarations are ignored.
3333
/* tslint:disable:prefer-declare-function */
3434
declare const ListItemText: <
35-
P extends React.ElementType = 'span',
36-
S extends React.ElementType = 'p'
35+
PrimaryTypographyComponent extends React.ElementType = 'span',
36+
SecondaryTypographyComponent extends React.ElementType = 'p'
3737
>(
38-
props: ListItemTextProps<P, S>,
38+
props: ListItemTextProps<PrimaryTypographyComponent, SecondaryTypographyComponent>,
3939
) => JSX.Element;
4040

4141
export default ListItemText;

0 commit comments

Comments
 (0)