Skip to content

Commit

Permalink
fix(Store): Exported initial state tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Jul 10, 2017
1 parent 1a166ec commit 5b8023f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/store/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export { ReducerManager, ReducerObservable, ReducerManagerDispatcher, UPDATE } f
export { ScannedActionsSubject } from './scanned_actions_subject';
export { createSelector, createFeatureSelector, MemoizedSelector } from './selector';
export { State, StateObservable, reduceState } from './state';
export { INITIAL_STATE, REDUCER_FACTORY, INITIAL_REDUCERS, STORE_FEATURES } from './tokens';
export { StoreRootModule, StoreFeatureModule } from './store_module';
export { INITIAL_STATE, REDUCER_FACTORY, INITIAL_REDUCERS, STORE_FEATURES, _INITIAL_STATE } from './tokens';
export { StoreRootModule, StoreFeatureModule, _initialStateFactory } from './store_module';
1 change: 0 additions & 1 deletion modules/store/src/store_module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export class StoreModule {
}
}

/** @internal */
export function _initialStateFactory(initialState: any): any {
if (typeof initialState === 'function') {
return initialState();
Expand Down
1 change: 0 additions & 1 deletion modules/store/src/tokens.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { OpaqueToken } from '@angular/core';

/** @internal */
export const _INITIAL_STATE = new OpaqueToken('_ngrx/store Initial State');
export const INITIAL_STATE = new OpaqueToken('@ngrx/store Initial State');
export const REDUCER_FACTORY = new OpaqueToken('@ngrx/store Reducer Factory');
Expand Down

0 comments on commit 5b8023f

Please sign in to comment.