# Interface MiddlewareAPI<D, S>

interface MiddlewareAPI<D, S> {
dispatch: D;
getState(): S;
}

#### Type Parameters

- D extends Dispatch = Dispatch
- S = any

- Defined in common/temp/node_modules/.pnpm/redux@4.2.1/node_modules/redux/index.d.ts:538

#####
Index

### Properties

dispatch

### Methods

getState

## Properties

### dispatch

dispatch: D

- Defined in common/temp/node_modules/.pnpm/redux@4.2.1/node_modules/redux/index.d.ts:539

## Methods

### getState

- getState(): S

- #### Returns S

  - Defined in common/temp/node_modules/.pnpm/redux@4.2.1/node_modules/redux/index.d.ts:540