Skip to content

Commit 26ec940

Browse files
- Fixed Typescript issue with fluent-uis CheckboxWidget caused by Typescript upgrade
1 parent c766e86 commit 26ec940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/fluent-ui/src/CheckboxWidget/CheckboxWidget.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const CheckboxWidget = (props: WidgetProps) => {
5454
target: { value },
5555
}: React.FocusEvent<HTMLButtonElement>) => onFocus(id, value);
5656

57-
const uiProps = _pick(options.props || {}, allowedProps);
57+
const uiProps: object = _pick((options.props as object) || {}, allowedProps);
5858

5959
return (
6060
<>

0 commit comments

Comments
 (0)