Skip to content

Commit aab7909

Browse files
authored
Merge pull request #97 from openai/lukas/fix-default-checked-type
[bug] Fix type for Checkbox defaultChecked
2 parents 6cb8948 + 3bc87d6 commit aab7909

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)