import { createSyncReducerExecutor , createEnvironment , createReducerList } from "./base" ; import { Environment } from "./types" ; /**
 * Returns a new synchronized `Environment`.
 */ export function createSyncEnvironment ( ) { const reducers = createReducerList ( ) ; const { reduce } = createSyncReducerExecutor ( reducers ) ; return createEnvironment ( { ... reducers , reduce } ) ; }