mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-20 11:08:01 +02:00
frontend: cast type instead of ignoring typescript error
This commit is contained in:
@ -39,8 +39,7 @@ const reducer = (state: State | null, action: Action): State | null => {
|
||||
return {
|
||||
...state,
|
||||
value: setNestedValueByPath(
|
||||
/* @ts-expect-error state is not null here... */
|
||||
state.value,
|
||||
state.value as Record<string, SerializedObject>,
|
||||
action.fullAccessPath,
|
||||
action.newValue,
|
||||
),
|
||||
|
Reference in New Issue
Block a user