[ui] fix spurious TS error (?)
parent
7592c8f46b
commit
bd1655d61a
|
@ -25,7 +25,7 @@ export default function (): HistorySource {
|
|||
},
|
||||
history: {
|
||||
get state() {
|
||||
return history.location.state;
|
||||
return history.location.state as object;
|
||||
},
|
||||
pushState(state, title, uri) {
|
||||
history.push(uri, state);
|
||||
|
|
Loading…
Reference in New Issue