mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-03 20:30:40 +02:00
frontend: cast type instead of ignoring typescript error
This commit is contained in:
parent
c98f191d20
commit
7d50bd5759
@ -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,
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user