Skip to content

Commit ff169db

Browse files
committed
Remove redundant Readonly
1 parent 2c9ea89 commit ff169db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/bundle/src/FullComposer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { type ComposerProps } from 'botframework-webchat-component';
99

1010
const { Composer } = Components;
1111

12-
type FullComposerProps = Readonly<ComposerProps & AddFullBundleProps>;
12+
type FullComposerProps = ComposerProps & Readonly<AddFullBundleProps>;
1313

1414
const FullComposer = (props: FullComposerProps): ReactNode => (
1515
<AddFullBundle {...props}>

packages/bundle/src/FullReactWebChat.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import ReactWebChat, { ReactWebChatProps } from 'botframework-webchat-component'
44

55
import AddFullBundle, { AddFullBundleProps } from './AddFullBundle';
66

7-
type FullReactWebChatProps = Readonly<ReactWebChatProps & Omit<AddFullBundleProps, 'children'>>;
7+
type FullReactWebChatProps = ReactWebChatProps & Omit<AddFullBundleProps, 'children'>;
88

99
// Add additional props to <WebChat>, so it support additional features
1010
const FullReactWebChat = (props: FullReactWebChatProps): ReactNode => (

0 commit comments

Comments
 (0)