This commit is contained in:
Nathan Bierema 2025-03-05 16:43:48 -05:00
parent bdb9e3f807
commit f6f5d954e4
9 changed files with 11 additions and 9 deletions

View File

@ -1,4 +1,4 @@
import Immutable from 'immutable';
import * as Immutable from 'immutable';
import shuffle from 'lodash.shuffle';
import { combineReducers, Reducer } from 'redux';

View File

@ -1,4 +1,4 @@
import Immutable from 'immutable';
import * as Immutable from 'immutable';
import shuffle from 'lodash.shuffle';
import { combineReducers, Reducer } from 'redux';

View File

@ -1,5 +1,5 @@
import jsan from 'jsan';
import Immutable from 'immutable';
import * as Immutable from 'immutable';
import serialize from './serialize';
import options from '../constants/options';

View File

@ -1,4 +1,5 @@
import Immutable, { OrderedSet, Record } from 'immutable';
import * as Immutable from 'immutable';
import { Record } from 'immutable';
import { mark, extract, refer } from '../helpers';
import options from '../constants/options';
import { SerializedImmutableData } from '../types';

View File

@ -1,4 +1,5 @@
import Immutable, { Map, OrderedMap } from 'immutable';
import * as Immutable from 'immutable';
import { Map, OrderedMap } from 'immutable';
import Serialize from '../src/immutable';
import { SerializedData } from '../src/helpers';
const serialize = Serialize(Immutable);

View File

@ -1,7 +1,7 @@
import jsan from 'jsan';
import { immutableSerialize } from '@redux-devtools/serialize';
import { Action } from 'redux';
import Immutable from 'immutable';
import * as Immutable from 'immutable';
import { PerformAction } from '@redux-devtools/core';
interface State {

View File

@ -2,7 +2,7 @@ import getParams from 'get-params';
import jsan from 'jsan';
import { nanoid } from 'nanoid/non-secure';
import { immutableSerialize } from '@redux-devtools/serialize';
import Immutable from 'immutable';
import * as Immutable from 'immutable';
import { Action, ActionCreator } from 'redux';
export function generateId(id: string | undefined) {

View File

@ -7,7 +7,7 @@ import {
Middleware,
} from 'redux';
import { persistState } from '@redux-devtools/core';
import thunk from 'redux-thunk';
import { thunk } from 'redux-thunk';
import rootReducer, { CounterState } from '../reducers';
import DevTools from '../containers/DevTools';
import { CounterAction } from '../actions/CounterActions';

View File

@ -1,5 +1,5 @@
import { createStore, applyMiddleware, Middleware } from 'redux';
import thunk from 'redux-thunk';
import { thunk } from 'redux-thunk';
import rootReducer, { CounterState } from '../reducers';
const enhancer = applyMiddleware(thunk as unknown as Middleware);