diff --git a/.changeset/bright-pumpkins-move.md b/.changeset/bright-pumpkins-move.md new file mode 100644 index 00000000..1ff2cb30 --- /dev/null +++ b/.changeset/bright-pumpkins-move.md @@ -0,0 +1,5 @@ +--- +'@redux-devtools/instrument': patch +--- + +Remove unnecessary exported functions from instrument diff --git a/packages/redux-devtools-instrument/src/instrument.ts b/packages/redux-devtools-instrument/src/instrument.ts index f288ed3a..f88b09eb 100644 --- a/packages/redux-devtools-instrument/src/instrument.ts +++ b/packages/redux-devtools-instrument/src/instrument.ts @@ -367,7 +367,7 @@ function recomputeStates>( /** * Lifts an app's action into an action on the lifted store. */ -export function liftAction>( +function liftAction>( action: A, trace?: ((action: A) => string | undefined) | boolean, traceLimit?: number, @@ -404,7 +404,7 @@ export interface LiftedState, MonitorState> { /** * Creates a history state reducer from an app's reducer. */ -export function liftReducerWith< +function liftReducerWith< S, A extends Action, MonitorState, @@ -832,12 +832,7 @@ export function liftReducerWith< /** * Provides an app's view into the state of the lifted store. */ -export function unliftState< - S, - A extends Action, - MonitorState, - NextStateExt, ->( +function unliftState, MonitorState, NextStateExt>( liftedState: LiftedState & NextStateExt, ): S & NextStateExt { const { computedStates, currentStateIndex } = liftedState; @@ -868,7 +863,7 @@ export type EnhancedStore, MonitorState> = Store< /** * Provides an app's view into the lifted store. */ -export function unliftStore< +function unliftStore< S, A extends Action, MonitorState,