Skip to content

Commit

Permalink
Accomodate to braking changes in @types/react
Browse files Browse the repository at this point in the history
  • Loading branch information
raksooo committed Jun 18, 2024
1 parent 3414f31 commit 1f16eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/renderer/components/cell/SettingsTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function SettingsNumberInput(props: SettingsNumberInputProps) {
type ValueTypes = 'text' | 'number';
type ValueType<T extends ValueTypes> = T extends 'number' ? number | '' : string;

interface InputProps<T extends ValueTypes> extends React.HTMLAttributes<HTMLInputElement> {
interface InputProps<T extends ValueTypes> extends React.InputHTMLAttributes<HTMLInputElement> {
type?: T;
value?: ValueType<T>;
defaultValue?: ValueType<T>;
Expand Down

0 comments on commit 1f16eb3

Please sign in to comment.