Skip to content

Commit 659c8d4

Browse files
committed
Fix tsd
1 parent 8914c57 commit 659c8d4

5 files changed

Lines changed: 2 additions & 39 deletions

File tree

packages/bundle/src/package-preset/FullComposer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import AddFullBundle, { type AddFullBundleProps } from './AddFullBundle';
66

77
const { Composer } = Components;
88

9-
type FullComposerProps = ComposerProps & AddFullBundleProps;
9+
type FullComposerProps = ComposerProps & Omit<AddFullBundleProps, 'children'>;
1010

1111
const FullComposer = (props: FullComposerProps) => (
1212
<AddFullBundle {...props}>

packages/bundle/test-d/fail-once/no-full-bundle-style-options-in-minimal-for-hooks.test-d.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/bundle/test-d/fail-once/no-full-bundle-style-options-in-minimal.test-d.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/bundle/test-d/pass/render-with-minimal-bundle.test-d.tsx

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/bundle/test-d/pass/render-with-style-set.test-d.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import '../setup';
33
import React from 'react';
44
import ReactDOM from 'react-dom';
55

6-
import ReactWebChat, { createDirectLine, createStyleSet } from '../../src/exports/minimal';
6+
import ReactWebChat, { createDirectLine, createStyleSet } from '../../src/exports/full';
77

88
const directLine = createDirectLine({ token: '...' });
99
const styleOptions = { accent: 'black', cardEmphasisBackgroundColor: 'orange' };

0 commit comments

Comments
 (0)