diff --git a/packages/toolkit/src/entities/slice_creator.ts b/packages/toolkit/src/entities/slice_creator.ts index 1522c44701..472e142502 100644 --- a/packages/toolkit/src/entities/slice_creator.ts +++ b/packages/toolkit/src/entities/slice_creator.ts @@ -104,7 +104,7 @@ declare module '@reduxjs/toolkit' { } } -export function createEntityMethods< +/*#__PURE__*/ export function createEntityMethods< T, Id extends EntityId, State = EntityState, @@ -181,7 +181,7 @@ export function createEntityMethods< export const entityMethodsCreator: ReducerCreator< typeof entityMethodsCreatorType -> = { +> = /*#__PURE__*/ { type: entityMethodsCreatorType, create: createEntityMethods, }