From 6012330de26dc4139096c9a66534166b5c72ebd9 Mon Sep 17 00:00:00 2001 From: MBCSdatalogger <152470088+MBCSdatalogger@users.noreply.github.com> Date: Wed, 18 Dec 2024 12:15:45 +0530 Subject: [PATCH 1/2] Update Typography.d.ts Error occurred in scoping due to line 77 @default '{' Signed-off-by: MBCSdatalogger <152470088+MBCSdatalogger@users.noreply.github.com> --- packages/mui-material/src/Typography/Typography.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/mui-material/src/Typography/Typography.d.ts b/packages/mui-material/src/Typography/Typography.d.ts index 400abde58395fd..91f535918eda69 100644 --- a/packages/mui-material/src/Typography/Typography.d.ts +++ b/packages/mui-material/src/Typography/Typography.d.ts @@ -74,7 +74,8 @@ export interface TypographyOwnProps extends Omit, 'color'> { * For instance, subtitle1 to `
`. * If you wish to change that mapping, you can provide your own. * Alternatively, you can use the `component` prop. - * @default { + * @default + *{ * h1: 'h1', * h2: 'h2', * h3: 'h3', From 6de2ff7efbd6d68cc8d8af011849a48c5fa422e6 Mon Sep 17 00:00:00 2001 From: ZeeshanTamboli Date: Tue, 24 Dec 2024 18:02:22 +0530 Subject: [PATCH 2/2] run scripts --- packages/mui-material/src/Typography/Typography.d.ts | 2 +- packages/mui-material/src/Typography/Typography.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/mui-material/src/Typography/Typography.d.ts b/packages/mui-material/src/Typography/Typography.d.ts index 91f535918eda69..07c27fdc91eb92 100644 --- a/packages/mui-material/src/Typography/Typography.d.ts +++ b/packages/mui-material/src/Typography/Typography.d.ts @@ -74,7 +74,7 @@ export interface TypographyOwnProps extends Omit, 'color'> { * For instance, subtitle1 to `
`. * If you wish to change that mapping, you can provide your own. * Alternatively, you can use the `component` prop. - * @default + * @default *{ * h1: 'h1', * h2: 'h2', diff --git a/packages/mui-material/src/Typography/Typography.js b/packages/mui-material/src/Typography/Typography.js index dcda0315e3bdb3..e4639855546e75 100644 --- a/packages/mui-material/src/Typography/Typography.js +++ b/packages/mui-material/src/Typography/Typography.js @@ -298,7 +298,8 @@ Typography.propTypes /* remove-proptypes */ = { * For instance, subtitle1 to `
`. * If you wish to change that mapping, you can provide your own. * Alternatively, you can use the `component` prop. - * @default { + * @default + * { * h1: 'h1', * h2: 'h2', * h3: 'h3',