Skip to content

Commit 3bc87d6

Browse files
committed
Fix type for Checkbox defaultChecked
1 parent 6cb8948 commit 3bc87d6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openai/chatkit': patch
3+
---
4+
5+
Fix type for Checkbox `defaultChecked`

packages/chatkit/types/widgets.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ export type Checkbox = {
333333
id?: string;
334334
name: string;
335335
label?: string;
336-
defaultChecked?: string;
336+
defaultChecked?: boolean;
337337
onChangeAction?: ActionConfig;
338338
disabled?: boolean;
339339
required?: boolean;

0 commit comments

Comments
 (0)