Skip to content

Commit

Permalink
Remove redundant Readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
OEvgeny committed Jan 10, 2024
1 parent da31e28 commit 55c5a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/bundle/src/FullComposer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { type ComposerProps } from 'botframework-webchat-component';

const { Composer } = Components;

type FullComposerProps = Readonly<ComposerProps & AddFullBundleProps>;
type FullComposerProps = ComposerProps & Readonly<AddFullBundleProps>;

const FullComposer = (props: FullComposerProps): ReactNode => (
<AddFullBundle {...props}>
Expand Down
2 changes: 1 addition & 1 deletion packages/bundle/src/FullReactWebChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import ReactWebChat, { ReactWebChatProps } from 'botframework-webchat-component'

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

type FullReactWebChatProps = Readonly<ReactWebChatProps & Omit<AddFullBundleProps, 'children'>>;
type FullReactWebChatProps = ReactWebChatProps & Omit<AddFullBundleProps, 'children'>;

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

0 comments on commit 55c5a4b

Please sign in to comment.