diff --git a/src/PluginContainer.tsx b/src/PluginContainer.tsx index 03bcce110..473702f62 100644 --- a/src/PluginContainer.tsx +++ b/src/PluginContainer.tsx @@ -62,7 +62,7 @@ type DispatchFromProps = { selectedApp?: string | null; deepLinkPayload: string | null; }) => any; - setPluginState: (payload: {pluginKey: string; state: Object}) => void; + setPluginState: (payload: {pluginKey: string; state: any}) => void; }; type Props = StateFromProps & DispatchFromProps & OwnProps; @@ -133,7 +133,7 @@ class PluginContainer extends PureComponent { ...pluginState, } : pluginState, - setPersistedState: _state => setPluginState({pluginKey, state: Object}), + setPersistedState: state => setPluginState({pluginKey, state}), target, deepLinkPayload: this.props.deepLinkPayload, selectPlugin: (pluginID: string, deepLinkPayload: string | null) => {