From 1f16eb31f6f77c659650fee82153689d5237dab2 Mon Sep 17 00:00:00 2001 From: Oskar Nyberg Date: Fri, 14 Jun 2024 12:16:30 +0200 Subject: [PATCH] Accomodate to braking changes in @types/react --- gui/src/renderer/components/cell/SettingsTextInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/src/renderer/components/cell/SettingsTextInput.tsx b/gui/src/renderer/components/cell/SettingsTextInput.tsx index 6d4c22dcbbed..1727997dc4d6 100644 --- a/gui/src/renderer/components/cell/SettingsTextInput.tsx +++ b/gui/src/renderer/components/cell/SettingsTextInput.tsx @@ -73,7 +73,7 @@ export function SettingsNumberInput(props: SettingsNumberInputProps) { type ValueTypes = 'text' | 'number'; type ValueType = T extends 'number' ? number | '' : string; -interface InputProps extends React.HTMLAttributes { +interface InputProps extends React.InputHTMLAttributes { type?: T; value?: ValueType; defaultValue?: ValueType;