From 3e9cb0ee3036977d4781006f903a89e09d998aa0 Mon Sep 17 00:00:00 2001 From: Marcos Moura Date: Tue, 13 Jun 2023 18:33:04 +0200 Subject: [PATCH] fix: remove redundant types --- .../react-components/react-drawer/etc/react-drawer.api.md | 2 +- .../src/components/DrawerInline/DrawerInline.types.ts | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/react-components/react-drawer/etc/react-drawer.api.md b/packages/react-components/react-drawer/etc/react-drawer.api.md index 52f3f34607876b..fbfa04d4732cf1 100644 --- a/packages/react-components/react-drawer/etc/react-drawer.api.md +++ b/packages/react-components/react-drawer/etc/react-drawer.api.md @@ -117,7 +117,7 @@ export type DrawerInlineSlots = { }; // @public -export type DrawerInlineState = ComponentState & DrawerBaseProps & DrawerBaseState & Pick; +export type DrawerInlineState = ComponentState & DrawerInlineProps & DrawerBaseState; // @public export const DrawerOverlay: ForwardRefComponent; diff --git a/packages/react-components/react-drawer/src/components/DrawerInline/DrawerInline.types.ts b/packages/react-components/react-drawer/src/components/DrawerInline/DrawerInline.types.ts index 230d7c109d0dfc..193cc28df728b3 100644 --- a/packages/react-components/react-drawer/src/components/DrawerInline/DrawerInline.types.ts +++ b/packages/react-components/react-drawer/src/components/DrawerInline/DrawerInline.types.ts @@ -21,7 +21,4 @@ export type DrawerInlineProps = ComponentProps & /** * State used in rendering DrawerInline */ -export type DrawerInlineState = ComponentState & - DrawerBaseProps & - DrawerBaseState & - Pick; +export type DrawerInlineState = ComponentState & DrawerInlineProps & DrawerBaseState;