From 6f22ba75bfa20f2a19ecc4807f2e81c953d37134 Mon Sep 17 00:00:00 2001 From: Barnabas Jovanovics Date: Thu, 21 Apr 2022 08:54:41 +0200 Subject: [PATCH] do it correctly --- packages/toolkit/src/configureStore.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/toolkit/src/configureStore.ts b/packages/toolkit/src/configureStore.ts index 5739583557..e0a7896ac2 100644 --- a/packages/toolkit/src/configureStore.ts +++ b/packages/toolkit/src/configureStore.ts @@ -52,9 +52,6 @@ export interface ConfigureStoreOptions< /** * An array of Redux middleware to install. If not supplied, defaults to * the set of middleware returned by `getDefaultMiddleware()`. - * - * @example `middleware: (gDM) => gDM().concat(logger, apiMiddleware, yourCustomMiddleware)` - * @see https://redux-toolkit.js.org/api/getDefaultMiddleware#intended-usage */ middleware?: ((getDefaultMiddleware: CurriedGetDefaultMiddleware) => M) | M