Skip to content

Commit 3ffd319

Browse files
committed
fix tsd
1 parent 7a7e911 commit 3ffd319

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/bundle/src/AddFullBundle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type AddFullBundleProps = Readonly<{
2525
attachmentMiddleware?: OneOrMany<AttachmentMiddleware>;
2626
children: AddFullBundleChildren;
2727
htmlContentTransformMiddleware?: HTMLContentTransformMiddleware[];
28-
nonce: string | undefined;
28+
nonce?: string | undefined;
2929
renderMarkdown?: (
3030
markdown: string,
3131
newLineOptions: { markdownRespectCRLF: boolean },

packages/bundle/test-d/setup.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import '../src/env.d.ts';
2+
13
globalThis.WEB_CHAT_BUILD_INFO_BUILD_TOOL = 'tsd';
24
globalThis.WEB_CHAT_BUILD_INFO_MODULE_FORMAT = 'unknown';
35
globalThis.WEB_CHAT_BUILD_INFO_VERSION = '0.0.0-unknown';

0 commit comments

Comments
 (0)