Skip to content

Commit

Permalink
remove unnecessary assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
EskiMojo14 committed Mar 14, 2024
1 parent 512372d commit 9393ee3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/createStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import $$observable from './utils/symbol-observable'
import type {
Store,
StoreEnhancer,
Dispatch,
Observer,
ListenerCallback,
UnknownIfNonSpecific
Expand Down Expand Up @@ -399,7 +398,7 @@ export function createStore<
initialState = currentState

const store = {
dispatch: dispatch as Dispatch<A>,
dispatch,
subscribe,
getState,
getInitialState,
Expand Down

0 comments on commit 9393ee3

Please sign in to comment.