Skip to content

Commit

Permalink
Update src/types/middleware.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Durrant <[email protected]>
  • Loading branch information
janeklb and EskiMojo14 authored Sep 5, 2024
1 parent f679f33 commit c431f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Dispatch } from './store'

export interface MiddlewareAPI<D extends Dispatch = Dispatch, S = any> {
dispatch: D
getState(this: void): S
getState: () => S
}

/**
Expand Down

0 comments on commit c431f5b

Please sign in to comment.