diff --git a/packages/perseus-editor/src/widgets/input-number-editor.tsx b/packages/perseus-editor/src/widgets/input-number-editor.tsx index 6ae4aec832..6e99f299f5 100644 --- a/packages/perseus-editor/src/widgets/input-number-editor.tsx +++ b/packages/perseus-editor/src/widgets/input-number-editor.tsx @@ -154,6 +154,7 @@ class InputNumberEditor extends React.Component { value={this.props.simplify} onChange={(e) => { this.props.onChange({ + // @ts-expect-error - TS2322 - Type 'string' is not assignable to type '"optional" | "required" | "enforced" | undefined'. simplify: e.target.value, }); }} @@ -230,6 +231,7 @@ class InputNumberEditor extends React.Component { { + // @ts-expect-error - TS2322 - Type 'string' is not assignable to type '"small" | "normal" | undefined'. this.props.onChange({size: e.target.value}); }} >